From fd48f3e498442f0cbff5f3606c7c403d0566150e Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 14 Jun 2010 11:12:50 -0600 Subject: [PATCH] Imported Upstream version 3.1.0 --- AUTHORS | 116 +- ChangeLog | 24943 ++---- FULL_VERSION | 1 + Makefile.am | 22 +- Makefile.in | 373 +- NEWS | 120 +- README | 297 +- ReleaseNotes | 47 +- UPGRADING | 9 + VERSION | 1 + aclocal.m4 | 6713 +- amandad-src/Makefile.am | 9 +- amandad-src/Makefile.in | 344 +- amandad-src/amandad.c | 110 +- amandad-src/amandad.h | 3 - amar-src/Makefile.am | 4 +- amar-src/Makefile.in | 543 +- amar-src/amar-test.c | 26 +- amar-src/amar.c | 24 +- amar-src/amar.h | 24 +- amar-src/amarchiver.c | 27 +- amplot/Makefile.in | 471 +- application-src/Makefile.am | 22 +- application-src/Makefile.in | 515 +- application-src/amgtar.c | 740 +- application-src/amgtar_perl.pl | 350 - application-src/amlog-script.pl | 49 +- application-src/ampgsql.pl | 857 + application-src/amraw.pl | 305 + application-src/amsamba.pl | 416 +- application-src/amstar.c | 567 +- application-src/amsuntar.pl | 616 + application-src/amzfs-sendrecv.pl | 153 +- application-src/amzfs-snapshot.pl | 54 +- application-src/script-email.pl | 25 +- autogen | 7 +- changer-src/Makefile.am | 7 +- changer-src/Makefile.in | 477 +- changer-src/chg-chio.pl | 14 +- changer-src/chg-chs.sh | 11 +- changer-src/chg-disk.sh | 13 +- changer-src/chg-glue.pl | 316 - changer-src/chg-iomega.pl | 9 +- changer-src/chg-juke.sh | 8 +- changer-src/chg-lib.sh.in | 25 +- changer-src/chg-mcutil.sh | 12 +- changer-src/chg-null.sh | 4 +- changer-src/chg-rait.sh | 6 +- changer-src/chg-rth.pl | 11 +- changer-src/chg-zd-mtx.sh | 19 +- client-src/Makefile.am | 5 +- client-src/Makefile.in | 490 +- client-src/amandates.h | 1 - client-src/calcsize.c | 26 +- client-src/client_util.c | 496 +- client-src/client_util.h | 54 +- client-src/getfsent.c | 1 + client-src/killpgrp.c | 6 +- client-src/noop.c | 1 + client-src/patch-system.sh | 27 +- client-src/rundump.c | 6 +- client-src/runtar.c | 6 +- client-src/selfcheck.c | 496 +- client-src/sendbackup-dump.c | 18 +- client-src/sendbackup-gnutar.c | 87 +- client-src/sendbackup.c | 139 +- client-src/sendbackup.h | 18 - client-src/sendsize.c | 445 +- client-src/versionsuffix.c | 60 - common-src/Makefile.am | 54 +- common-src/Makefile.in | 644 +- common-src/alloc.c | 3 +- common-src/amaespipe.sh | 4 +- common-src/amanda.h | 49 +- common-src/amcrypt-ossl-asym.sh | 32 +- common-src/amcrypt-ossl.sh | 36 + common-src/amcryptsimple.pl | 26 +- common-src/amfeatures.c | 86 +- common-src/amfeatures.h | 16 +- common-src/amflock-test.c | 281 +- common-src/amflock.c | 199 +- common-src/amflock.h | 73 +- common-src/amgetconf.pl | 41 +- common-src/amgpgcrypt.pl | 4 +- common-src/amxml.c | 117 +- common-src/amxml.h | 13 +- common-src/bsd-security.c | 36 +- common-src/bsdtcp-security.c | 31 +- common-src/bsdudp-security.c | 22 +- common-src/columnar.c | 70 +- common-src/conffile.c | 1412 +- common-src/conffile.h | 180 +- common-src/debug.c | 274 +- common-src/debug.h | 69 +- common-src/directtcp.h | 36 + common-src/event-test.c | 24 +- common-src/file.c | 70 +- common-src/fileheader-test.c | 411 + common-src/fileheader.c | 374 +- common-src/fileheader.h | 20 +- common-src/genversion.c | 13 +- common-src/glib-util.c | 77 +- common-src/glib-util.h | 32 +- common-src/hexencode-test.c | 187 + common-src/ipc-binary-test.c | 203 + common-src/ipc-binary.c | 535 + common-src/ipc-binary.h | 334 + common-src/krb4-security.c | 1796 - common-src/krb5-security.c | 12 +- common-src/local-security.c | 9 +- common-src/match-test.c | 307 + common-src/match.c | 169 +- common-src/match.h | 62 + common-src/pipespawn.c | 11 +- common-src/protocol.c | 2 + common-src/queue.h | 406 - common-src/queueing-test.c | 12 +- common-src/queueing.c | 38 +- common-src/queueing.h | 32 +- common-src/quoting-test.c | 18 +- common-src/rsh-security.c | 8 +- common-src/security-util.c | 71 +- common-src/security-util.h | 22 +- common-src/security.c | 6 - common-src/security.h | 2 +- common-src/semaphore-test.c | 32 +- common-src/semaphore.c | 32 +- common-src/semaphore.h | 32 +- common-src/simpleprng.c | 50 +- common-src/simpleprng.h | 23 +- common-src/sockaddr-util.c | 4 +- common-src/sockaddr-util.h | 4 +- common-src/ssh-security.c | 8 +- common-src/stream.c | 52 +- common-src/svn-info.h | 4 +- common-src/testutils.c | 104 +- common-src/testutils.h | 4 +- common-src/timestamp.c | 50 + common-src/timestamp.h | 1 + common-src/util.c | 377 +- common-src/util.h | 80 +- common-src/version.h | 23 +- common-src/versuff.c | 53 - common-src/versuff.c.in | 53 - config/Makefile.am | 4 +- config/Makefile.in | 364 +- config/amanda/components.m4 | 83 +- config/amanda/config.m4 | 42 +- config/amanda/debugging.m4 | 25 + config/amanda/defaults.m4 | 25 +- config/amanda/devprefix.m4 | 2 +- config/amanda/dumpers.m4 | 89 +- config/amanda/dvdrw-device.m4 | 25 + config/amanda/file-list | 3 +- config/amanda/flags.m4 | 52 +- config/amanda/ipv6.m4 | 2 +- config/amanda/krb4-security.m4 | 244 - config/amanda/lfs.m4 | 2 +- config/amanda/libs.m4 | 6 +- config/amanda/ndmp-device.m4 | 28 + config/amanda/progs.m4 | 44 +- config/amanda/ps.m4 | 23 +- config/amanda/swig.m4 | 2 +- config/amanda/syshacks.m4 | 7 +- config/amanda/tape.m4 | 4 +- config/amanda/userid.m4 | 5 +- config/amanda/version.m4 | 94 +- config/automake/scripts.am | 134 +- config/automake/vars.am | 32 +- config/config.guess | 38 +- config/config.h.in | 274 +- config/config.rpath | 24 +- config/config.sub | 47 +- config/depcomp | 33 +- config/gnulib/00gnulib.m4 | 30 + config/gnulib/absolute-header.m4 | 49 - config/gnulib/alloca.m4 | 6 +- config/gnulib/arpa_inet_h.m4 | 42 +- config/gnulib/btowc.m4 | 68 + config/gnulib/codeset.m4 | 21 + config/gnulib/eoverflow.m4 | 70 - config/gnulib/errno_h.m4 | 113 + config/gnulib/extensions.m4 | 36 +- config/gnulib/file-list | 33 +- config/gnulib/fseeko.m4 | 34 + config/gnulib/fsusage.m4 | 68 +- config/gnulib/ftello.m4 | 34 + config/gnulib/ftruncate.m4 | 46 + config/gnulib/getaddrinfo.m4 | 96 +- config/gnulib/getopt.m4 | 6 +- config/gnulib/gettimeofday.m4 | 10 +- config/gnulib/glibc21.m4 | 30 + config/gnulib/gnulib-cache.m4 | 22 +- config/gnulib/gnulib-common.m4 | 67 +- config/gnulib/gnulib-comp.m4 | 183 +- config/gnulib/gnulib-tool.m4 | 28 +- config/gnulib/hostent.m4 | 45 + config/gnulib/include_next.m4 | 104 +- config/gnulib/inet_ntop.m4 | 17 +- config/gnulib/intmax_t.m4 | 16 +- config/gnulib/inttypes_h.m4 | 12 +- config/gnulib/lib-ld.m4 | 14 +- config/gnulib/lib-link.m4 | 103 +- config/gnulib/lib-prefix.m4 | 88 +- config/gnulib/localcharset.m4 | 16 + config/gnulib/locale-fr.m4 | 185 + config/gnulib/locale-ja.m4 | 107 + config/gnulib/locale-zh.m4 | 92 + config/gnulib/lock.m4 | 313 +- config/gnulib/longlong.m4 | 8 +- config/gnulib/lseek.m4 | 50 + config/gnulib/lstat.m4 | 26 + config/gnulib/malloc.m4 | 6 +- config/gnulib/mbrtowc.m4 | 382 + config/gnulib/mbsinit.m4 | 30 + config/gnulib/mbstate_t.m4 | 34 + config/gnulib/mkdtemp.m4 | 6 +- config/gnulib/multiarch.m4 | 66 + config/gnulib/netdb_h.m4 | 45 + config/gnulib/netinet_in_h.m4 | 6 +- .../gnulib/{onceonly_2_57.m4 => onceonly.m4} | 26 +- config/gnulib/physmem.m4 | 14 +- config/gnulib/printf.m4 | 1416 + config/gnulib/regex.m4 | 224 + config/gnulib/servent.m4 | 47 + config/gnulib/size_max.m4 | 14 +- config/gnulib/snprintf.m4 | 15 +- config/gnulib/sockpfaf.m4 | 20 +- config/gnulib/stdbool.m4 | 4 +- config/gnulib/stdint.m4 | 111 +- config/gnulib/stdint_h.m4 | 12 +- config/gnulib/stdio_h.m4 | 142 +- config/gnulib/stdlib_h.m4 | 55 +- config/gnulib/strdup.m4 | 22 - config/gnulib/string_h.m4 | 87 - config/gnulib/sys_socket_h.m4 | 90 +- config/gnulib/sys_stat_h.m4 | 51 +- config/gnulib/threadlib.m4 | 313 + config/gnulib/unistd_h.m4 | 48 +- config/gnulib/vasnprintf.m4 | 53 +- config/gnulib/visibility.m4 | 10 +- config/gnulib/wchar.m4 | 57 +- config/gnulib/wchar_t.m4 | 10 +- config/gnulib/wcrtomb.m4 | 88 + config/gnulib/wctype.m4 | 74 + config/gnulib/wint_t.m4 | 10 +- config/gnulib/write.m4 | 20 + config/gnulib/xsize.m4 | 6 +- config/install-sh | 228 +- config/libtool.m4 | 11934 +-- config/ltmain.sh | 12748 +-- config/ltoptions.m4 | 368 + config/ltsugar.m4 | 123 + config/ltversion.m4 | 23 + config/lt~obsolete.m4 | 92 + config/macro-archive/docbook-dtd.m4 | 4 +- config/macro-archive/docbook-xslt-min.m4 | 4 +- config/macro-archive/docbook-xslt.m4 | 4 +- config/macro-archive/xsltproc.m4 | 4 +- config/set_full_version | 70 + config/ylwrap | 12 +- configure | 65233 ++++++++-------- configure.in | 36 +- device-src/Makefile.am | 47 +- device-src/Makefile.in | 550 +- device-src/amdevcheck.pl | 163 + device-src/amtapetype.pl | 192 +- device-src/device-queueing.c | 24 +- device-src/device-queueing.h | 24 +- device-src/device.c | 282 +- device-src/device.h | 242 +- device-src/directtcp-connection.c | 165 + device-src/directtcp-connection.h | 95 + device-src/dvdrw-device.c | 742 + device-src/ndmp-device.c | 1996 + device-src/null-device.c | 47 +- device-src/property.c | 48 +- device-src/property.h | 44 +- device-src/rait-device.c | 362 +- device-src/s3-device.c | 494 +- device-src/s3-util.c | 42 +- device-src/s3-util.h | 43 +- device-src/s3.c | 325 +- device-src/s3.h | 78 +- device-src/tape-aix.c | 44 +- device-src/tape-device.c | 619 +- device-src/tape-device.h | 32 +- device-src/tape-ops.h | 43 +- device-src/tape-posix.c | 61 +- device-src/tape-uware.c | 41 +- device-src/tape-xenix.c | 42 +- device-src/vfs-device.c | 306 +- device-src/vfs-device.h | 65 + device-src/vfs-test.c | 26 +- .../xfer-dest-device.c | 37 +- device-src/xfer-dest-taper-directtcp.c | 521 + device-src/xfer-dest-taper-splitter.c | 1669 + device-src/xfer-dest-taper.c | 114 + device-src/xfer-device.h | 202 + .../xfer-source-device.c | 37 +- device-src/xfer-source-recovery.c | 610 + example/Makefile.am | 76 +- example/Makefile.in | 524 +- example/amanda-client-postgresql.conf.in | 46 + example/amanda-client.conf | 24 - example/amanda.conf | 769 - example/amanda.conf.in | 41 +- example/chg-mcutil.conf | 66 - example/chg-mcutil.conf.in | 66 - example/config.site | 433 - example/inetd.conf.amandaclient | 2 - example/inetd.conf.amandaserver | 1 - example/template.d/advanced.conf | 160 - example/template.d/amanda-S3.conf | 67 - example/template.d/amanda-harddisk.conf | 53 - example/template.d/amanda-single-tape.conf | 55 - example/template.d/amanda-tape-changer.conf | 56 - example/xinetd.amandaclient | 18 - example/xinetd.amandaclient.in | 2 +- example/xinetd.amandaserver | 18 - example/xinetd.amandaserver.in | 2 +- gnulib/Makefile.am | 611 +- gnulib/Makefile.in | 1075 +- gnulib/alloca.c | 489 + gnulib/alloca.in.h | 2 +- gnulib/arpa_inet.in.h | 90 + gnulib/asnprintf.c | 2 +- gnulib/base64.c | 279 +- gnulib/base64.h | 30 +- gnulib/btowc.c | 38 + gnulib/config.charset | 683 + gnulib/errno.in.h | 155 + gnulib/float+.h | 2 +- gnulib/float.in.h | 6 +- gnulib/fseeko.c | 130 + gnulib/fsusage.c | 3 +- gnulib/ftello.c | 54 + gnulib/ftruncate.c | 90 + gnulib/gai_strerror.c | 11 +- gnulib/getaddrinfo.c | 142 +- gnulib/getaddrinfo.h | 155 - gnulib/gettext.h | 2 +- gnulib/gettimeofday.c | 21 +- gnulib/{ => glthread}/lock.c | 602 +- gnulib/glthread/lock.h | 927 + gnulib/glthread/threadlib.c | 74 + gnulib/inet_ntop.c | 10 +- gnulib/inet_ntop.h | 42 - gnulib/localcharset.c | 499 + gnulib/localcharset.h | 41 + gnulib/lock.h | 1105 - gnulib/lseek.c | 62 + gnulib/lstat.c | 82 + gnulib/malloc.c | 2 +- gnulib/mbrtowc.c | 386 + gnulib/mbsinit.c | 47 + gnulib/netdb.in.h | 182 + gnulib/netinet_in.in.h | 8 +- gnulib/printf-args.c | 2 +- gnulib/printf-args.h | 2 +- gnulib/printf-parse.c | 2 +- gnulib/printf-parse.h | 2 +- gnulib/ref-add.sin | 30 + gnulib/ref-del.sin | 25 + gnulib/regcomp.c | 3851 + gnulib/regenerate/getaddrinfo-cygwin.patch | 176 - gnulib/regenerate/no-error.patch | 2 +- gnulib/regenerate/no-restrict.patch | 217 - gnulib/regenerate/regenerate | 14 +- gnulib/regex.c | 71 + gnulib/regex.h | 675 + gnulib/regex_internal.c | 1737 + gnulib/regex_internal.h | 855 + gnulib/regexec.c | 4407 ++ gnulib/size_max.h | 2 +- gnulib/snprintf.c | 9 +- gnulib/stdbool.in.h | 8 +- gnulib/stdint.in.h | 125 +- gnulib/stdio-impl.h | 94 + gnulib/stdio-write.c | 148 + gnulib/stdio.in.h | 144 +- gnulib/stdlib.in.h | 177 +- gnulib/strdup.c | 55 - gnulib/streq.h | 176 + gnulib/string.in.h | 569 - gnulib/sys_socket.in.h | 340 +- gnulib/sys_stat.in.h | 97 +- gnulib/sys_time.in.h | 18 +- gnulib/unistd.in.h | 252 +- gnulib/vasnprintf.c | 1025 +- gnulib/vasnprintf.h | 2 +- gnulib/verify.h | 140 + gnulib/wchar.in.h | 228 +- gnulib/wcrtomb.c | 53 + gnulib/wctype.in.h | 184 + gnulib/write.c | 62 + gnulib/xsize.h | 2 +- .../{Amanda_Types.pl => =setupcache.pl} | 16 +- installcheck/Amanda_Archive.pl | 10 +- installcheck/Amanda_Changer.pl | 452 +- installcheck/Amanda_Changer_compat.pl | 353 +- installcheck/Amanda_Changer_disk.pl | 342 +- installcheck/Amanda_Changer_multi.pl | 440 + installcheck/Amanda_Changer_ndmp.pl | 739 + installcheck/Amanda_Changer_null.pl | 106 + installcheck/Amanda_Changer_rait.pl | 552 + installcheck/Amanda_Changer_robot.pl | 1354 + installcheck/Amanda_Changer_single.pl | 54 +- installcheck/Amanda_ClientService.pl | 268 + installcheck/Amanda_Cmdline.pl | 64 +- installcheck/Amanda_Config.pl | 411 +- installcheck/Amanda_Curinfo.pl | 1310 + installcheck/Amanda_DB_Catalog.pl | 1033 +- installcheck/Amanda_Debug.pl | 14 +- installcheck/Amanda_Device.pl | 980 +- installcheck/Amanda_Disklist.pl | 88 + installcheck/Amanda_Feature.pl | 89 + installcheck/Amanda_Header.pl | 51 + installcheck/Amanda_Holding.pl | 191 + installcheck/Amanda_IPC_Binary.pl | 242 + installcheck/Amanda_IPC_LineProtocol.pl | 395 + installcheck/Amanda_Logfile.pl | 185 +- installcheck/Amanda_MainLoop.pl | 448 +- installcheck/Amanda_NDMP.pl | 69 + installcheck/Amanda_Process.pl | 14 +- installcheck/Amanda_Recovery_Clerk.pl | 679 + installcheck/Amanda_Recovery_Planner.pl | 544 + installcheck/Amanda_Recovery_Scan.pl | 481 + installcheck/Amanda_Report.pl | 1275 + installcheck/Amanda_Tapelist.pl | 33 +- installcheck/Amanda_Taper_Scan.pl | 142 + installcheck/Amanda_Taper_Scan_traditional.pl | 261 + installcheck/Amanda_Taper_Scribe.pl | 598 + installcheck/Amanda_Util.pl | 263 +- installcheck/Amanda_Xfer.pl | 1050 +- installcheck/Installcheck.pm | 170 + installcheck/Installcheck/Application.pm | 650 + installcheck/Installcheck/Changer.pm | 99 + installcheck/Installcheck/ClientService.pm | 737 + installcheck/Installcheck/Config.pm | 157 +- installcheck/Installcheck/Dumpcache.pm | 318 + installcheck/Installcheck/Mock.pm | 230 + installcheck/Installcheck/Run.pm | 218 +- installcheck/Makefile.am | 136 +- installcheck/Makefile.in | 604 +- installcheck/amadmin.pl | 117 + installcheck/amarchiver.pl | 9 +- installcheck/amcheck-device.pl | 45 + installcheck/amcheck.pl | 85 + installcheck/amcheckdump.pl | 22 +- installcheck/amdevcheck.pl | 41 +- installcheck/amdump.pl | 30 +- installcheck/amfetchdump.pl | 501 +- installcheck/amgetconf.pl | 33 +- installcheck/amgtar.pl | 160 + installcheck/amidxtaped.pl | 704 + installcheck/amlabel.pl | 133 + installcheck/ampgsql.pl | 425 + installcheck/amraw.pl | 83 + installcheck/amrecover.pl | 189 + installcheck/amreport.pl | 2457 + installcheck/amrestore.pl | 314 + installcheck/amrmtape.pl | 271 + installcheck/amservice.pl | 14 +- installcheck/amstatus.pl | 196 +- installcheck/amtape.pl | 225 + installcheck/amtapetype.pl | 30 +- installcheck/amvault.pl | 52 + installcheck/bigint.pl | 4 +- installcheck/data/aws-bundle.crt | 10720 +++ installcheck/mock/lpr.pl | 33 + installcheck/mock/mail.pl | 39 + installcheck/mock/mtx.pl | 307 + installcheck/mock_mtx.pl | 312 + installcheck/noop.pl | 68 + installcheck/pp-scripts.pl | 95 +- installcheck/run-ndmp.pl | 43 + installcheck/taper.pl | 1029 + man/Makefile.am | 13 +- man/Makefile.in | 310 +- man/amaddclient.8 | 49 +- man/amadmin.8 | 125 +- man/amaespipe.8 | 16 +- man/amanda-applications.7 | 95 +- man/amanda-archive-format.5 | 15 +- man/amanda-auth.7 | 40 +- man/amanda-changers.7 | 526 +- man/amanda-client.conf.5 | 135 +- man/amanda-compatibility.7 | 155 + man/amanda-devices.7 | 367 +- man/amanda-scripts.7 | 20 +- man/amanda-taperscan.7 | 100 + man/amanda.8 | 163 +- man/amanda.conf.5 | 928 +- man/amarchiver.8 | 12 +- man/amcheck.8 | 64 +- man/amcheckdb.8 | 23 +- man/amcheckdump.8 | 25 +- man/amcleanup.8 | 31 +- man/amcrypt-ossl-asym.8 | 23 +- man/amcrypt-ossl.8 | 19 +- man/amcrypt.8 | 14 +- man/amcryptsimple.8 | 45 +- man/amdevcheck.8 | 62 +- man/amdump.8 | 28 +- man/amfetchdump.8 | 72 +- man/amflush.8 | 40 +- man/amgetconf.8 | 30 +- man/amgpgcrypt.8 | 34 +- man/amgtar.8 | 128 +- man/amlabel.8 | 168 +- man/amoverview.8 | 29 +- man/ampgsql.8 | 268 + man/amplot.8 | 33 +- man/amraw.8 | 81 + man/amrecover.8 | 51 +- man/amreport.8 | 110 +- man/amrestore.8 | 263 +- man/amrmtape.8 | 54 +- man/amsamba.8 | 91 +- man/amserverconfig.8 | 44 +- man/amservice.8 | 23 +- man/amstar.8 | 80 +- man/amstatus.8 | 29 +- man/amsuntar.8 | 128 + man/amtape.8 | 151 +- man/amtapetype.8 | 29 +- man/amtoc.8 | 18 +- man/amvault.8 | 30 +- man/amzfs-sendrecv.8 | 15 +- man/amzfs-snapshot.8 | 17 +- man/disklist.5 | 32 +- man/entities/global.entities.in | 35 +- man/script-email.8 | 15 +- man/tapelist.5 | 24 +- man/xml-source/amaddclient.8.xml | 40 +- man/xml-source/amadmin.8.xml | 112 +- man/xml-source/amaespipe.8.xml | 20 +- man/xml-source/amanda-applications.7.xml | 65 +- man/xml-source/amanda-archive-format.5.xml | 12 +- man/xml-source/amanda-auth.7.xml | 40 +- man/xml-source/amanda-changers.7.xml | 541 +- man/xml-source/amanda-client.conf.5.xml | 248 +- man/xml-source/amanda-compatibility.7.xml | 130 + man/xml-source/amanda-devices.7.xml | 525 +- man/xml-source/amanda-scripts.7.xml | 20 +- man/xml-source/amanda-taperscan.7.xml | 105 + man/xml-source/amanda.8.xml | 188 +- man/xml-source/amanda.conf.5.xml | 1351 +- man/xml-source/amarchiver.8.xml | 10 +- man/xml-source/amcheck.8.xml | 53 +- man/xml-source/amcheckdb.8.xml | 22 +- man/xml-source/amcheckdump.8.xml | 17 +- man/xml-source/amcleanup.8.xml | 26 +- man/xml-source/amcrypt-ossl-asym.8.xml | 38 +- man/xml-source/amcrypt-ossl.8.xml | 33 +- man/xml-source/amcrypt.8.xml | 20 +- man/xml-source/amcryptsimple.8.xml | 43 +- man/xml-source/amdevcheck.8.xml | 81 +- man/xml-source/amdump.8.xml | 44 +- man/xml-source/amfetchdump.8.xml | 94 +- man/xml-source/amflush.8.xml | 46 +- man/xml-source/amgetconf.8.xml | 32 +- man/xml-source/amgpgcrypt.8.xml | 33 +- man/xml-source/amgtar.8.xml | 114 +- man/xml-source/amlabel.8.xml | 196 +- man/xml-source/amoverview.8.xml | 24 +- man/xml-source/ampgsql.8.xml | 184 + man/xml-source/amplot.8.xml | 41 +- man/xml-source/amraw.8.xml | 82 + man/xml-source/amrecover.8.xml | 51 +- man/xml-source/amreport.8.xml | 176 +- man/xml-source/amrestore.8.xml | 464 +- man/xml-source/amrmtape.8.xml | 76 +- man/xml-source/amsamba.8.xml | 108 +- man/xml-source/amserverconfig.8.xml | 32 +- man/xml-source/amservice.8.xml | 30 +- man/xml-source/amstar.8.xml | 71 +- man/xml-source/amstatus.8.xml | 30 +- man/xml-source/amsuntar.8.xml | 124 + man/xml-source/amtape.8.xml | 295 +- man/xml-source/amtapetype.8.xml | 33 +- man/xml-source/amtoc.8.xml | 22 +- man/xml-source/amvault.8.xml | 26 +- man/xml-source/amzfs-sendrecv.8.xml | 18 +- man/xml-source/amzfs-snapshot.8.xml | 21 +- man/xml-source/disklist.5.xml | 17 +- man/xml-source/script-email.8.xml | 18 +- man/xml-source/tapelist.5.xml | 16 +- man/xslt/expand-sambadoc.xsl | 68 + man/xslt/html.xsl.in | 4 + ndmp-src/Makefile.am | 252 + {restore-src => ndmp-src}/Makefile.in | 887 +- ndmp-src/README | 146 + ndmp-src/ShakeOut.sh | 82 + ndmp-src/ThingsToTry | 203 + ndmp-src/amndma_tape_simulator.c | 466 + ndmp-src/amndmjob_main.c | 124 + ndmp-src/idx_dump.pl | 293 + ndmp-src/md5.h | 71 + ndmp-src/md5c.c | 332 + ndmp-src/ndma_comm_dispatch.c | 3448 + ndmp-src/ndma_comm_job.c | 254 + ndmp-src/ndma_comm_session.c | 449 + ndmp-src/ndma_comm_subr.c | 91 + ndmp-src/ndma_control.c | 132 + ndmp-src/ndma_cops_backreco.c | 1103 + ndmp-src/ndma_cops_labels.c | 170 + ndmp-src/ndma_cops_query.c | 806 + ndmp-src/ndma_cops_robot.c | 435 + ndmp-src/ndma_ctrl_calls.c | 649 + ndmp-src/ndma_ctrl_conn.c | 194 + ndmp-src/ndma_ctrl_media.c | 638 + ndmp-src/ndma_ctrl_robot.c | 496 + ndmp-src/ndma_ctst_data.c | 462 + ndmp-src/ndma_ctst_mover.c | 845 + ndmp-src/ndma_ctst_subr.c | 565 + ndmp-src/ndma_ctst_tape.c | 1262 + ndmp-src/ndma_data.c | 1010 + ndmp-src/ndma_data_fh.c | 214 + ndmp-src/ndma_data_pfe.c | 203 + ndmp-src/ndma_image_stream.c | 1059 + ndmp-src/ndma_noti_calls.c | 224 + ndmp-src/ndma_robot.c | 81 + ndmp-src/ndma_robot_simulator.c | 745 + ndmp-src/ndma_tape.c | 629 + ndmp-src/ndma_tape_simulator.c | 797 + ndmp-src/ndmagents.h | 1265 + ndmp-src/ndmjob.h | 170 + ndmp-src/ndmjob_args.c | 972 + ndmp-src/ndmjob_job.c | 646 + ndmp-src/ndmjob_main.c | 120 + ndmp-src/ndmjob_main_util.c | 146 + ndmp-src/ndmjob_rules.c | 81 + ndmp-src/ndmjr_none.c | 52 + ndmp-src/ndmjr_none.h | 50 + ndmp-src/ndml_agent.c | 223 + ndmp-src/ndml_bstf.c | 462 + ndmp-src/ndml_chan.c | 628 + ndmp-src/ndml_config.c | 645 + ndmp-src/ndml_conn.c | 1093 + ndmp-src/ndml_cstr.c | 126 + ndmp-src/ndml_fhdb.c | 527 + ndmp-src/ndml_fhh.c | 200 + ndmp-src/ndml_log.c | 93 + ndmp-src/ndml_md5.c | 159 + ndmp-src/ndml_media.c | 259 + ndmp-src/ndml_nmb.c | 278 + ndmp-src/ndml_scsi.c | 297 + ndmp-src/ndml_stzf.c | 223 + ndmp-src/ndml_util.c | 47 + ndmp-src/ndmlib.h | 803 + ndmp-src/ndmos.c | 39 + ndmp-src/ndmos.h | 403 + ndmp-src/ndmos_common.c | 517 + ndmp-src/ndmos_glib.c | 72 + ndmp-src/ndmos_glib.h | 124 + ndmp-src/ndmp0.h | 120 + ndmp-src/ndmp0.x | 153 + ndmp-src/ndmp0_enum_strs.c | 141 + ndmp-src/ndmp0_enum_strs.h | 51 + ndmp-src/ndmp0_pp.c | 120 + ndmp-src/ndmp0_xdr.c | 84 + ndmp-src/ndmp0_xmt.c | 67 + ndmp-src/ndmp2.h | 1032 + ndmp-src/ndmp2.x | 928 + ndmp-src/ndmp2_enum_strs.c | 461 + ndmp-src/ndmp2_enum_strs.h | 90 + ndmp-src/ndmp2_pp.c | 706 + ndmp-src/ndmp2_translate.c | 3057 + ndmp-src/ndmp2_translate.h | 115 + ndmp-src/ndmp2_xdr.c | 1253 + ndmp-src/ndmp2_xmt.c | 315 + ndmp-src/ndmp3.h | 1246 + ndmp-src/ndmp3.x | 1109 + ndmp-src/ndmp3_enum_strs.c | 507 + ndmp-src/ndmp3_enum_strs.h | 93 + ndmp-src/ndmp3_pp.c | 917 + ndmp-src/ndmp3_translate.c | 3933 + ndmp-src/ndmp3_translate.h | 119 + ndmp-src/ndmp3_xdr.c | 1489 + ndmp-src/ndmp3_xmt.c | 345 + ndmp-src/ndmp4.h | 1318 + ndmp-src/ndmp4.x | 1108 + ndmp-src/ndmp4_enum_strs.c | 540 + ndmp-src/ndmp4_enum_strs.h | 96 + ndmp-src/ndmp4_pp.c | 916 + ndmp-src/ndmp4_translate.c | 3858 + ndmp-src/ndmp4_translate.h | 119 + ndmp-src/ndmp4_xdr.c | 1520 + ndmp-src/ndmp4_xmt.c | 326 + ndmp-src/ndmp9.h | 1219 + ndmp-src/ndmp9.x | 1069 + ndmp-src/ndmp9_enum_strs.c | 333 + ndmp-src/ndmp9_enum_strs.h | 76 + ndmp-src/ndmp9_xdr.c | 1464 + ndmp-src/ndmp9_xmt.c | 300 + ndmp-src/ndmp_ammend.h | 72 + ndmp-src/ndmp_msg_buf.h | 656 + ndmp-src/ndmp_translate.c | 230 + ndmp-src/ndmp_translate.h | 207 + ndmp-src/ndmpconnobj.c | 811 + ndmp-src/ndmpconnobj.h | 244 + ndmp-src/ndmprotocol.c | 281 + ndmp-src/ndmprotocol.h | 270 + ndmp-src/scsiconst.h | 517 + ndmp-src/smc.h | 180 + ndmp-src/smc_api.c | 437 + ndmp-src/smc_parse.c | 192 + ndmp-src/smc_pp.c | 188 + ndmp-src/smc_priv.h | 61 + ndmp-src/smc_raw.h | 1012 + ndmp-src/wraplib.c | 1554 + ndmp-src/wraplib.h | 375 + oldrecover-src/Makefile.am | 8 +- oldrecover-src/Makefile.in | 343 +- oldrecover-src/amrecover.c | 3 +- oldrecover-src/extract_list.c | 211 +- oldrecover-src/set_commands.c | 5 +- packaging/Makefile.am | 1 + packaging/Makefile.in | 298 +- packaging/README | 23 +- packaging/common/substitute.pl | 214 + packaging/deb/amanda-backup-client.substvars | 1 - packaging/deb/amanda-backup-server.substvars | 1 - packaging/deb/buildpkg | 72 +- packaging/deb/changelog | 8 - packaging/deb/changelog.src | 5 + packaging/deb/control | 16 +- packaging/deb/rules | 49 +- packaging/rpm/amanda.spec | 69 +- packaging/rpm/buildpkg | 46 +- perl/Amanda/Application.c | 4 +- perl/Amanda/Application.pm | 66 +- perl/Amanda/Application.pod | 71 + perl/Amanda/Application.swg | 98 +- perl/Amanda/Application/Zfs.pm | 140 +- perl/Amanda/Archive.c | 105 +- perl/Amanda/Archive.pm | 93 +- perl/Amanda/Archive.pod | 236 + perl/Amanda/Archive.swg | 265 +- perl/Amanda/BigIntCompat.pm | 41 +- perl/Amanda/Changer.pm | 1146 +- perl/Amanda/Changer/compat.pm | 754 +- perl/Amanda/Changer/disk.pm | 324 +- perl/Amanda/Changer/multi.pm | 688 + perl/Amanda/Changer/ndmp.pm | 544 + perl/Amanda/Changer/null.pm | 98 + perl/Amanda/Changer/rait.pm | 708 + perl/Amanda/Changer/robot.pm | 2058 + perl/Amanda/Changer/single.pm | 124 +- perl/Amanda/ClientService.pm | 477 + perl/Amanda/Cmdline.c | 124 +- perl/Amanda/Cmdline.pm | 30 +- perl/Amanda/Cmdline.pod | 96 + perl/Amanda/Cmdline.swg | 137 +- perl/Amanda/Config.c | 1229 +- perl/Amanda/Config.pm | 364 +- perl/Amanda/Config.pod | 332 + perl/Amanda/Config.swg | 415 +- perl/Amanda/Constants.pm.in | 24 +- perl/Amanda/Curinfo.pm | 193 + perl/Amanda/Curinfo/Info.pm | 552 + perl/Amanda/DB/Catalog.pm | 641 +- perl/Amanda/Debug.c | 157 +- perl/Amanda/Debug.pm | 123 +- perl/Amanda/Debug.pod | 104 + perl/Amanda/Debug.swg | 158 +- perl/Amanda/Device.c | 912 +- perl/Amanda/Device.pm | 767 +- perl/Amanda/Device.pod | 731 + perl/Amanda/Device.swg | 405 +- perl/Amanda/Disklist.c | 2254 + perl/Amanda/Disklist.pm | 301 + perl/Amanda/Disklist.pod | 184 + perl/Amanda/Disklist.swg | 318 + perl/Amanda/Feature.c | 2916 + perl/Amanda/Feature.pm | 440 + perl/Amanda/Feature.pod | 235 + perl/Amanda/Feature.swg | 94 + perl/Amanda/{Types.c => Header.c} | 918 +- perl/Amanda/Header.pm | 398 + perl/Amanda/Header.pod | 161 + perl/Amanda/Header.swg | 161 + perl/Amanda/Holding.pm | 355 + perl/Amanda/IPC/Binary.c | 2690 + perl/Amanda/IPC/Binary.pm | 315 + perl/Amanda/IPC/Binary.pod | 130 + perl/Amanda/IPC/Binary.swg | 325 + perl/Amanda/IPC/LineProtocol.pm | 588 + perl/Amanda/Interactive.pm | 119 + perl/Amanda/Interactive/stdin.pm | 107 + perl/Amanda/Logfile.c | 590 +- perl/Amanda/Logfile.pm | 197 +- perl/Amanda/Logfile.pod | 211 + perl/Amanda/Logfile.swg | 241 +- perl/Amanda/MainLoop.c | 67 +- perl/Amanda/MainLoop.pm | 950 +- perl/Amanda/MainLoop.pod | 669 + perl/Amanda/MainLoop.swg | 515 +- perl/Amanda/NDMP.c | 3217 + perl/Amanda/NDMP.pm | 787 + perl/Amanda/NDMP.pod | 156 + perl/Amanda/NDMP.swg | 479 + perl/Amanda/Paths.pm.in | 4 +- perl/Amanda/Process.pm | 94 +- perl/Amanda/Recovery/Clerk.pm | 688 + perl/Amanda/Recovery/Planner.pm | 521 + perl/Amanda/Recovery/Scan.pm | 712 + perl/Amanda/Report.pm | 1238 + perl/Amanda/Report/human.pm | 1513 + perl/Amanda/Report/postscript.pm | 241 + perl/Amanda/Report/xml.pm | 420 + perl/Amanda/Script.pm | 28 +- perl/Amanda/Script_App.pm | 106 +- perl/Amanda/Tapelist.c | 224 +- perl/Amanda/Tapelist.pm | 107 +- perl/Amanda/Tapelist.pod | 115 + perl/Amanda/Tapelist.swg | 124 +- perl/Amanda/Taper/Scan.pm | 333 + perl/Amanda/Taper/Scan/traditional.pm | 432 + perl/Amanda/Taper/Scribe.pm | 1262 + perl/Amanda/Tests.c | 138 +- perl/Amanda/Tests.pm | 10 +- perl/Amanda/Tests.pod | 36 + perl/Amanda/Tests.swg | 70 +- perl/Amanda/Types.pm | 330 - perl/Amanda/Types.swg | 198 - perl/Amanda/Util.c | 1350 +- perl/Amanda/Util.pm | 639 +- perl/Amanda/Util.pod | 399 + perl/Amanda/Util.swg | 609 +- perl/Amanda/Xfer.c | 807 +- perl/Amanda/Xfer.pm | 494 +- perl/Amanda/Xfer.pod | 444 + perl/Amanda/Xfer.swg | 585 +- perl/Amanda/XferServer.c | 2709 + perl/Amanda/XferServer.pm | 171 + perl/Amanda/XferServer.pod | 33 + perl/Amanda/XferServer.swg | 137 + perl/Makefile.am | 287 +- perl/Makefile.in | 1510 +- perl/amglue/amglue.h | 109 +- perl/amglue/amglue.swg | 26 +- perl/amglue/bigint.c | 32 +- perl/amglue/constants.swg | 24 +- perl/amglue/directtcp.swg | 123 + perl/amglue/dumpspecs.swg | 24 +- perl/amglue/exports.swg | 24 +- perl/amglue/filehandles.swg | 47 + perl/amglue/gerror.c | 33 + perl/amglue/ghashtable.c | 24 +- perl/amglue/glib.swg | 32 +- perl/amglue/integers.swg | 45 +- perl/amglue/objwrap.c | 65 + perl/amglue/source.c | 25 +- perl/amglue/xferwrap.c | 62 + po/Makefile.in | 297 +- recover-src/Makefile.am | 12 +- recover-src/Makefile.in | 347 +- recover-src/amrecover.c | 73 +- recover-src/amrecover.h | 13 +- recover-src/extract_list.c | 867 +- recover-src/help.c | 2 + recover-src/set_commands.c | 160 +- recover-src/uparse.c | 860 +- recover-src/uparse.h | 124 +- recover-src/uparse.y | 221 +- recover-src/uscan.c | 603 +- recover-src/uscan.l | 199 +- restore-src/Makefile.am | 74 - restore-src/amfetchdump.c | 484 - restore-src/amidxtaped.c | 623 - restore-src/amrestore.c | 285 - restore-src/restore.c | 2255 - restore-src/restore.h | 109 - server-src/Makefile.am | 77 +- server-src/Makefile.in | 710 +- server-src/amaddclient.pl | 14 +- server-src/amadmin.c | 155 +- server-src/amcheck-device.pl | 231 + server-src/amcheck.c | 396 +- server-src/amcheckdb.sh | 9 +- server-src/amcheckdump.pl | 446 +- server-src/amcleanup.pl | 72 +- server-src/amcleanupdisk.c | 3 +- server-src/amdevcheck.pl | 109 - server-src/amdump.sh | 36 +- server-src/amfetchdump.pl | 485 + server-src/amflush.c | 39 +- server-src/amidxtaped.pl | 940 + server-src/amindexd.c | 406 +- server-src/amlabel.c | 296 - server-src/amlabel.pl | 249 + server-src/amlogroll.c | 12 +- server-src/amoverview.pl | 13 +- server-src/amreport.pl | 595 + server-src/amrestore.pl | 409 + server-src/amrmtape.pl | 337 + server-src/amrmtape.sh | 273 - server-src/amserverconfig.pl | 12 +- server-src/amservice.c | 14 +- server-src/amstatus.pl | 150 +- server-src/amtape.c | 537 - server-src/amtape.pl | 649 + server-src/amtrmidx.c | 39 +- server-src/amtrmlog.c | 9 +- server-src/amvault.pl | 298 +- server-src/changer.c | 515 - server-src/changer.h | 102 - server-src/chunker.c | 106 +- server-src/cmdline.c | 17 +- server-src/cmdline.h | 4 +- server-src/disk_history.c | 30 +- server-src/diskfile.c | 1058 +- server-src/diskfile.h | 37 +- server-src/driver.c | 136 +- server-src/driverio.c | 104 +- server-src/dumper.c | 176 +- server-src/find.c | 316 +- server-src/find.h | 25 +- server-src/holding.c | 46 +- server-src/holding.h | 18 +- server-src/infofile.c | 47 +- server-src/infofile.h | 1 - server-src/logfile.c | 34 +- server-src/logfile.h | 2 +- server-src/planner.c | 982 +- server-src/reporter.c | 3081 - server-src/server_util.c | 247 +- server-src/server_util.h | 7 +- server-src/tapefile.c | 49 +- server-src/tapefile.h | 4 +- server-src/taper-disk-port-source.c | 459 - server-src/taper-disk-port-source.h | 75 - server-src/taper-file-source.c | 480 - server-src/taper-file-source.h | 74 - server-src/taper-mem-port-source.c | 229 - server-src/taper-mem-port-source.h | 74 - server-src/taper-port-source.c | 200 - server-src/taper-port-source.h | 70 - server-src/taper-source-test.c | 99 - server-src/taper-source.c | 384 - server-src/taper-source.h | 125 - server-src/taper.c | 1347 - server-src/taper.pl | 957 + server-src/taperscan.c | 582 - server-src/taperscan.h | 82 - server-src/xfer-server.h | 42 + server-src/xfer-source-holding.c | 301 + xfer-src/Makefile.am | 10 +- xfer-src/Makefile.in | 563 +- xfer-src/amxfer.h | 23 +- xfer-src/dest-buffer.c | 205 + xfer-src/dest-directtcp-connect.c | 153 + xfer-src/dest-directtcp-listen.c | 124 + xfer-src/dest-fd.c | 26 +- xfer-src/dest-null.c | 33 +- xfer-src/element-glue.c | 1027 +- xfer-src/element-glue.h | 54 +- xfer-src/filter-process.c | 310 + xfer-src/filter-xor.c | 26 +- xfer-src/source-directtcp-connect.c | 158 + xfer-src/source-directtcp-listen.c | 131 + xfer-src/source-fd.c | 26 +- xfer-src/source-pattern.c | 28 +- xfer-src/source-random.c | 47 +- xfer-src/xfer-element.c | 105 +- xfer-src/xfer-element.h | 260 +- xfer-src/xfer-test.c | 697 +- xfer-src/xfer.c | 168 +- xfer-src/xfer.h | 59 +- xfer-src/xmsg.c | 34 +- xfer-src/xmsg.h | 85 +- 974 files changed, 288514 insertions(+), 109977 deletions(-) create mode 100644 FULL_VERSION create mode 100644 VERSION delete mode 100644 application-src/amgtar_perl.pl create mode 100644 application-src/ampgsql.pl create mode 100644 application-src/amraw.pl create mode 100755 application-src/amsuntar.pl delete mode 100644 changer-src/chg-glue.pl delete mode 100644 client-src/versionsuffix.c create mode 100644 common-src/directtcp.h create mode 100644 common-src/fileheader-test.c create mode 100644 common-src/hexencode-test.c create mode 100644 common-src/ipc-binary-test.c create mode 100644 common-src/ipc-binary.c create mode 100644 common-src/ipc-binary.h delete mode 100644 common-src/krb4-security.c create mode 100644 common-src/match-test.c create mode 100644 common-src/match.h delete mode 100644 common-src/queue.h delete mode 100644 common-src/versuff.c delete mode 100644 common-src/versuff.c.in create mode 100644 config/amanda/dvdrw-device.m4 delete mode 100644 config/amanda/krb4-security.m4 create mode 100644 config/amanda/ndmp-device.m4 mode change 100755 => 100644 config/config.guess mode change 100644 => 100755 config/config.rpath create mode 100644 config/gnulib/00gnulib.m4 delete mode 100644 config/gnulib/absolute-header.m4 create mode 100644 config/gnulib/btowc.m4 create mode 100644 config/gnulib/codeset.m4 delete mode 100644 config/gnulib/eoverflow.m4 create mode 100644 config/gnulib/errno_h.m4 create mode 100644 config/gnulib/fseeko.m4 create mode 100644 config/gnulib/ftello.m4 create mode 100644 config/gnulib/ftruncate.m4 create mode 100644 config/gnulib/glibc21.m4 create mode 100644 config/gnulib/hostent.m4 create mode 100644 config/gnulib/localcharset.m4 create mode 100644 config/gnulib/locale-fr.m4 create mode 100644 config/gnulib/locale-ja.m4 create mode 100644 config/gnulib/locale-zh.m4 create mode 100644 config/gnulib/lseek.m4 create mode 100644 config/gnulib/lstat.m4 create mode 100644 config/gnulib/mbrtowc.m4 create mode 100644 config/gnulib/mbsinit.m4 create mode 100644 config/gnulib/mbstate_t.m4 create mode 100644 config/gnulib/multiarch.m4 create mode 100644 config/gnulib/netdb_h.m4 rename config/gnulib/{onceonly_2_57.m4 => onceonly.m4} (77%) create mode 100644 config/gnulib/printf.m4 create mode 100644 config/gnulib/regex.m4 create mode 100644 config/gnulib/servent.m4 delete mode 100644 config/gnulib/strdup.m4 delete mode 100644 config/gnulib/string_h.m4 create mode 100644 config/gnulib/threadlib.m4 create mode 100644 config/gnulib/wcrtomb.m4 create mode 100644 config/gnulib/wctype.m4 create mode 100644 config/gnulib/write.m4 mode change 100644 => 100755 config/ltmain.sh create mode 100644 config/ltoptions.m4 create mode 100644 config/ltsugar.m4 create mode 100644 config/ltversion.m4 create mode 100644 config/lt~obsolete.m4 create mode 100755 config/set_full_version create mode 100644 device-src/amdevcheck.pl create mode 100644 device-src/directtcp-connection.c create mode 100644 device-src/directtcp-connection.h create mode 100644 device-src/dvdrw-device.c create mode 100644 device-src/ndmp-device.c create mode 100644 device-src/vfs-device.h rename xfer-src/dest-device.c => device-src/xfer-dest-device.c (83%) create mode 100644 device-src/xfer-dest-taper-directtcp.c create mode 100644 device-src/xfer-dest-taper-splitter.c create mode 100644 device-src/xfer-dest-taper.c create mode 100644 device-src/xfer-device.h rename xfer-src/source-device.c => device-src/xfer-source-device.c (78%) create mode 100644 device-src/xfer-source-recovery.c create mode 100644 example/amanda-client-postgresql.conf.in delete mode 100644 example/amanda-client.conf delete mode 100644 example/amanda.conf delete mode 100644 example/chg-mcutil.conf delete mode 100644 example/chg-mcutil.conf.in delete mode 100644 example/config.site delete mode 100644 example/inetd.conf.amandaclient delete mode 100644 example/inetd.conf.amandaserver delete mode 100644 example/template.d/advanced.conf delete mode 100644 example/template.d/amanda-S3.conf delete mode 100644 example/template.d/amanda-harddisk.conf delete mode 100644 example/template.d/amanda-single-tape.conf delete mode 100644 example/template.d/amanda-tape-changer.conf delete mode 100644 example/xinetd.amandaclient delete mode 100644 example/xinetd.amandaserver create mode 100644 gnulib/alloca.c create mode 100644 gnulib/arpa_inet.in.h create mode 100644 gnulib/btowc.c create mode 100755 gnulib/config.charset create mode 100644 gnulib/errno.in.h create mode 100644 gnulib/fseeko.c create mode 100644 gnulib/ftello.c create mode 100644 gnulib/ftruncate.c delete mode 100644 gnulib/getaddrinfo.h rename gnulib/{ => glthread}/lock.c (65%) create mode 100644 gnulib/glthread/lock.h create mode 100644 gnulib/glthread/threadlib.c delete mode 100644 gnulib/inet_ntop.h create mode 100644 gnulib/localcharset.c create mode 100644 gnulib/localcharset.h delete mode 100644 gnulib/lock.h create mode 100644 gnulib/lseek.c create mode 100644 gnulib/lstat.c create mode 100644 gnulib/mbrtowc.c create mode 100644 gnulib/mbsinit.c create mode 100644 gnulib/netdb.in.h create mode 100644 gnulib/ref-add.sin create mode 100644 gnulib/ref-del.sin create mode 100644 gnulib/regcomp.c delete mode 100644 gnulib/regenerate/getaddrinfo-cygwin.patch delete mode 100644 gnulib/regenerate/no-restrict.patch create mode 100644 gnulib/regex.c create mode 100644 gnulib/regex.h create mode 100644 gnulib/regex_internal.c create mode 100644 gnulib/regex_internal.h create mode 100644 gnulib/regexec.c create mode 100644 gnulib/stdio-impl.h create mode 100644 gnulib/stdio-write.c delete mode 100644 gnulib/strdup.c create mode 100644 gnulib/streq.h delete mode 100644 gnulib/string.in.h create mode 100644 gnulib/verify.h create mode 100644 gnulib/wcrtomb.c create mode 100644 gnulib/wctype.in.h create mode 100644 gnulib/write.c rename installcheck/{Amanda_Types.pl => =setupcache.pl} (55%) create mode 100644 installcheck/Amanda_Changer_multi.pl create mode 100644 installcheck/Amanda_Changer_ndmp.pl create mode 100644 installcheck/Amanda_Changer_null.pl create mode 100644 installcheck/Amanda_Changer_rait.pl create mode 100644 installcheck/Amanda_Changer_robot.pl create mode 100644 installcheck/Amanda_ClientService.pl create mode 100644 installcheck/Amanda_Curinfo.pl create mode 100644 installcheck/Amanda_Disklist.pl create mode 100644 installcheck/Amanda_Feature.pl create mode 100644 installcheck/Amanda_Header.pl create mode 100644 installcheck/Amanda_Holding.pl create mode 100644 installcheck/Amanda_IPC_Binary.pl create mode 100644 installcheck/Amanda_IPC_LineProtocol.pl create mode 100644 installcheck/Amanda_NDMP.pl create mode 100644 installcheck/Amanda_Recovery_Clerk.pl create mode 100644 installcheck/Amanda_Recovery_Planner.pl create mode 100644 installcheck/Amanda_Recovery_Scan.pl create mode 100755 installcheck/Amanda_Report.pl create mode 100644 installcheck/Amanda_Taper_Scan.pl create mode 100644 installcheck/Amanda_Taper_Scan_traditional.pl create mode 100644 installcheck/Amanda_Taper_Scribe.pl create mode 100644 installcheck/Installcheck.pm create mode 100644 installcheck/Installcheck/Application.pm create mode 100644 installcheck/Installcheck/Changer.pm create mode 100644 installcheck/Installcheck/ClientService.pm create mode 100644 installcheck/Installcheck/Dumpcache.pm create mode 100644 installcheck/Installcheck/Mock.pm create mode 100644 installcheck/amadmin.pl create mode 100644 installcheck/amcheck-device.pl create mode 100644 installcheck/amcheck.pl create mode 100644 installcheck/amgtar.pl create mode 100644 installcheck/amidxtaped.pl create mode 100644 installcheck/amlabel.pl create mode 100644 installcheck/ampgsql.pl create mode 100644 installcheck/amraw.pl create mode 100644 installcheck/amrecover.pl create mode 100644 installcheck/amreport.pl create mode 100644 installcheck/amrestore.pl create mode 100644 installcheck/amrmtape.pl create mode 100644 installcheck/amtape.pl create mode 100644 installcheck/amvault.pl create mode 100644 installcheck/data/aws-bundle.crt create mode 100644 installcheck/mock/lpr.pl create mode 100644 installcheck/mock/mail.pl create mode 100644 installcheck/mock/mtx.pl create mode 100644 installcheck/mock_mtx.pl create mode 100644 installcheck/noop.pl create mode 100644 installcheck/run-ndmp.pl create mode 100644 installcheck/taper.pl create mode 100644 man/amanda-compatibility.7 create mode 100644 man/amanda-taperscan.7 create mode 100644 man/ampgsql.8 create mode 100644 man/amraw.8 create mode 100644 man/amsuntar.8 create mode 100644 man/xml-source/amanda-compatibility.7.xml create mode 100644 man/xml-source/amanda-taperscan.7.xml create mode 100644 man/xml-source/ampgsql.8.xml create mode 100644 man/xml-source/amraw.8.xml create mode 100644 man/xml-source/amsuntar.8.xml create mode 100644 ndmp-src/Makefile.am rename {restore-src => ndmp-src}/Makefile.in (58%) create mode 100644 ndmp-src/README create mode 100644 ndmp-src/ShakeOut.sh create mode 100644 ndmp-src/ThingsToTry create mode 100644 ndmp-src/amndma_tape_simulator.c create mode 100644 ndmp-src/amndmjob_main.c create mode 100644 ndmp-src/idx_dump.pl create mode 100644 ndmp-src/md5.h create mode 100644 ndmp-src/md5c.c create mode 100644 ndmp-src/ndma_comm_dispatch.c create mode 100644 ndmp-src/ndma_comm_job.c create mode 100644 ndmp-src/ndma_comm_session.c create mode 100644 ndmp-src/ndma_comm_subr.c create mode 100644 ndmp-src/ndma_control.c create mode 100644 ndmp-src/ndma_cops_backreco.c create mode 100644 ndmp-src/ndma_cops_labels.c create mode 100644 ndmp-src/ndma_cops_query.c create mode 100644 ndmp-src/ndma_cops_robot.c create mode 100644 ndmp-src/ndma_ctrl_calls.c create mode 100644 ndmp-src/ndma_ctrl_conn.c create mode 100644 ndmp-src/ndma_ctrl_media.c create mode 100644 ndmp-src/ndma_ctrl_robot.c create mode 100644 ndmp-src/ndma_ctst_data.c create mode 100644 ndmp-src/ndma_ctst_mover.c create mode 100644 ndmp-src/ndma_ctst_subr.c create mode 100644 ndmp-src/ndma_ctst_tape.c create mode 100644 ndmp-src/ndma_data.c create mode 100644 ndmp-src/ndma_data_fh.c create mode 100644 ndmp-src/ndma_data_pfe.c create mode 100644 ndmp-src/ndma_image_stream.c create mode 100644 ndmp-src/ndma_noti_calls.c create mode 100644 ndmp-src/ndma_robot.c create mode 100644 ndmp-src/ndma_robot_simulator.c create mode 100644 ndmp-src/ndma_tape.c create mode 100644 ndmp-src/ndma_tape_simulator.c create mode 100644 ndmp-src/ndmagents.h create mode 100644 ndmp-src/ndmjob.h create mode 100644 ndmp-src/ndmjob_args.c create mode 100644 ndmp-src/ndmjob_job.c create mode 100644 ndmp-src/ndmjob_main.c create mode 100644 ndmp-src/ndmjob_main_util.c create mode 100644 ndmp-src/ndmjob_rules.c create mode 100644 ndmp-src/ndmjr_none.c create mode 100644 ndmp-src/ndmjr_none.h create mode 100644 ndmp-src/ndml_agent.c create mode 100644 ndmp-src/ndml_bstf.c create mode 100644 ndmp-src/ndml_chan.c create mode 100644 ndmp-src/ndml_config.c create mode 100644 ndmp-src/ndml_conn.c create mode 100644 ndmp-src/ndml_cstr.c create mode 100644 ndmp-src/ndml_fhdb.c create mode 100644 ndmp-src/ndml_fhh.c create mode 100644 ndmp-src/ndml_log.c create mode 100644 ndmp-src/ndml_md5.c create mode 100644 ndmp-src/ndml_media.c create mode 100644 ndmp-src/ndml_nmb.c create mode 100644 ndmp-src/ndml_scsi.c create mode 100644 ndmp-src/ndml_stzf.c create mode 100644 ndmp-src/ndml_util.c create mode 100644 ndmp-src/ndmlib.h create mode 100644 ndmp-src/ndmos.c create mode 100644 ndmp-src/ndmos.h create mode 100644 ndmp-src/ndmos_common.c create mode 100644 ndmp-src/ndmos_glib.c create mode 100644 ndmp-src/ndmos_glib.h create mode 100644 ndmp-src/ndmp0.h create mode 100644 ndmp-src/ndmp0.x create mode 100644 ndmp-src/ndmp0_enum_strs.c create mode 100644 ndmp-src/ndmp0_enum_strs.h create mode 100644 ndmp-src/ndmp0_pp.c create mode 100644 ndmp-src/ndmp0_xdr.c create mode 100644 ndmp-src/ndmp0_xmt.c create mode 100644 ndmp-src/ndmp2.h create mode 100644 ndmp-src/ndmp2.x create mode 100644 ndmp-src/ndmp2_enum_strs.c create mode 100644 ndmp-src/ndmp2_enum_strs.h create mode 100644 ndmp-src/ndmp2_pp.c create mode 100644 ndmp-src/ndmp2_translate.c create mode 100644 ndmp-src/ndmp2_translate.h create mode 100644 ndmp-src/ndmp2_xdr.c create mode 100644 ndmp-src/ndmp2_xmt.c create mode 100644 ndmp-src/ndmp3.h create mode 100644 ndmp-src/ndmp3.x create mode 100644 ndmp-src/ndmp3_enum_strs.c create mode 100644 ndmp-src/ndmp3_enum_strs.h create mode 100644 ndmp-src/ndmp3_pp.c create mode 100644 ndmp-src/ndmp3_translate.c create mode 100644 ndmp-src/ndmp3_translate.h create mode 100644 ndmp-src/ndmp3_xdr.c create mode 100644 ndmp-src/ndmp3_xmt.c create mode 100644 ndmp-src/ndmp4.h create mode 100644 ndmp-src/ndmp4.x create mode 100644 ndmp-src/ndmp4_enum_strs.c create mode 100644 ndmp-src/ndmp4_enum_strs.h create mode 100644 ndmp-src/ndmp4_pp.c create mode 100644 ndmp-src/ndmp4_translate.c create mode 100644 ndmp-src/ndmp4_translate.h create mode 100644 ndmp-src/ndmp4_xdr.c create mode 100644 ndmp-src/ndmp4_xmt.c create mode 100644 ndmp-src/ndmp9.h create mode 100644 ndmp-src/ndmp9.x create mode 100644 ndmp-src/ndmp9_enum_strs.c create mode 100644 ndmp-src/ndmp9_enum_strs.h create mode 100644 ndmp-src/ndmp9_xdr.c create mode 100644 ndmp-src/ndmp9_xmt.c create mode 100644 ndmp-src/ndmp_ammend.h create mode 100644 ndmp-src/ndmp_msg_buf.h create mode 100644 ndmp-src/ndmp_translate.c create mode 100644 ndmp-src/ndmp_translate.h create mode 100644 ndmp-src/ndmpconnobj.c create mode 100644 ndmp-src/ndmpconnobj.h create mode 100644 ndmp-src/ndmprotocol.c create mode 100644 ndmp-src/ndmprotocol.h create mode 100644 ndmp-src/scsiconst.h create mode 100644 ndmp-src/smc.h create mode 100644 ndmp-src/smc_api.c create mode 100644 ndmp-src/smc_parse.c create mode 100644 ndmp-src/smc_pp.c create mode 100644 ndmp-src/smc_priv.h create mode 100644 ndmp-src/smc_raw.h create mode 100644 ndmp-src/wraplib.c create mode 100644 ndmp-src/wraplib.h create mode 100755 packaging/common/substitute.pl delete mode 100644 packaging/deb/amanda-backup-client.substvars delete mode 100644 packaging/deb/amanda-backup-server.substvars delete mode 100644 packaging/deb/changelog create mode 100644 packaging/deb/changelog.src create mode 100644 perl/Amanda/Application.pod create mode 100644 perl/Amanda/Archive.pod create mode 100644 perl/Amanda/Changer/multi.pm create mode 100644 perl/Amanda/Changer/ndmp.pm create mode 100644 perl/Amanda/Changer/null.pm create mode 100644 perl/Amanda/Changer/rait.pm create mode 100644 perl/Amanda/Changer/robot.pm create mode 100644 perl/Amanda/ClientService.pm create mode 100644 perl/Amanda/Cmdline.pod create mode 100644 perl/Amanda/Config.pod create mode 100644 perl/Amanda/Curinfo.pm create mode 100644 perl/Amanda/Curinfo/Info.pm create mode 100644 perl/Amanda/Debug.pod create mode 100644 perl/Amanda/Device.pod create mode 100644 perl/Amanda/Disklist.c create mode 100644 perl/Amanda/Disklist.pm create mode 100644 perl/Amanda/Disklist.pod create mode 100644 perl/Amanda/Disklist.swg create mode 100644 perl/Amanda/Feature.c create mode 100644 perl/Amanda/Feature.pm create mode 100644 perl/Amanda/Feature.pod create mode 100644 perl/Amanda/Feature.swg rename perl/Amanda/{Types.c => Header.c} (77%) create mode 100644 perl/Amanda/Header.pm create mode 100644 perl/Amanda/Header.pod create mode 100644 perl/Amanda/Header.swg create mode 100644 perl/Amanda/Holding.pm create mode 100644 perl/Amanda/IPC/Binary.c create mode 100644 perl/Amanda/IPC/Binary.pm create mode 100644 perl/Amanda/IPC/Binary.pod create mode 100644 perl/Amanda/IPC/Binary.swg create mode 100644 perl/Amanda/IPC/LineProtocol.pm create mode 100644 perl/Amanda/Interactive.pm create mode 100644 perl/Amanda/Interactive/stdin.pm create mode 100644 perl/Amanda/Logfile.pod create mode 100644 perl/Amanda/MainLoop.pod create mode 100644 perl/Amanda/NDMP.c create mode 100644 perl/Amanda/NDMP.pm create mode 100644 perl/Amanda/NDMP.pod create mode 100644 perl/Amanda/NDMP.swg create mode 100644 perl/Amanda/Recovery/Clerk.pm create mode 100644 perl/Amanda/Recovery/Planner.pm create mode 100644 perl/Amanda/Recovery/Scan.pm create mode 100644 perl/Amanda/Report.pm create mode 100644 perl/Amanda/Report/human.pm create mode 100644 perl/Amanda/Report/postscript.pm create mode 100644 perl/Amanda/Report/xml.pm create mode 100644 perl/Amanda/Tapelist.pod create mode 100644 perl/Amanda/Taper/Scan.pm create mode 100644 perl/Amanda/Taper/Scan/traditional.pm create mode 100644 perl/Amanda/Taper/Scribe.pm create mode 100644 perl/Amanda/Tests.pod delete mode 100644 perl/Amanda/Types.pm delete mode 100644 perl/Amanda/Types.swg create mode 100644 perl/Amanda/Util.pod create mode 100644 perl/Amanda/Xfer.pod create mode 100644 perl/Amanda/XferServer.c create mode 100644 perl/Amanda/XferServer.pm create mode 100644 perl/Amanda/XferServer.pod create mode 100644 perl/Amanda/XferServer.swg create mode 100644 perl/amglue/directtcp.swg create mode 100644 perl/amglue/filehandles.swg create mode 100644 perl/amglue/gerror.c create mode 100644 perl/amglue/objwrap.c create mode 100644 perl/amglue/xferwrap.c delete mode 100644 restore-src/Makefile.am delete mode 100644 restore-src/amfetchdump.c delete mode 100644 restore-src/amidxtaped.c delete mode 100644 restore-src/amrestore.c delete mode 100644 restore-src/restore.c delete mode 100644 restore-src/restore.h create mode 100644 server-src/amcheck-device.pl delete mode 100644 server-src/amdevcheck.pl create mode 100644 server-src/amfetchdump.pl create mode 100644 server-src/amidxtaped.pl delete mode 100644 server-src/amlabel.c create mode 100644 server-src/amlabel.pl create mode 100755 server-src/amreport.pl create mode 100644 server-src/amrestore.pl create mode 100644 server-src/amrmtape.pl delete mode 100644 server-src/amrmtape.sh delete mode 100644 server-src/amtape.c create mode 100644 server-src/amtape.pl delete mode 100644 server-src/changer.c delete mode 100644 server-src/changer.h delete mode 100644 server-src/reporter.c delete mode 100644 server-src/taper-disk-port-source.c delete mode 100644 server-src/taper-disk-port-source.h delete mode 100644 server-src/taper-file-source.c delete mode 100644 server-src/taper-file-source.h delete mode 100644 server-src/taper-mem-port-source.c delete mode 100644 server-src/taper-mem-port-source.h delete mode 100644 server-src/taper-port-source.c delete mode 100644 server-src/taper-port-source.h delete mode 100644 server-src/taper-source-test.c delete mode 100644 server-src/taper-source.c delete mode 100644 server-src/taper-source.h delete mode 100644 server-src/taper.c create mode 100644 server-src/taper.pl delete mode 100644 server-src/taperscan.c delete mode 100644 server-src/taperscan.h create mode 100644 server-src/xfer-server.h create mode 100644 server-src/xfer-source-holding.c create mode 100644 xfer-src/dest-buffer.c create mode 100644 xfer-src/dest-directtcp-connect.c create mode 100644 xfer-src/dest-directtcp-listen.c create mode 100644 xfer-src/filter-process.c create mode 100644 xfer-src/source-directtcp-connect.c create mode 100644 xfer-src/source-directtcp-listen.c diff --git a/AUTHORS b/AUTHORS index 3f98f3d..976334b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,55 +1,105 @@ -This file lists the current members of the Amanda Development Team, -i.e., people who have write access to the sources of Amanda. +This file lists all known contributors of significant changes to Amanda. Many +of the contributors listed here are no longer active. Please do not contact +anyone on this list directly with questions about Amanda; instead, post to the +Amanda Users mailing list: amanda-users@amanda.org -Please avoid sending e-mail with Amanda-related questions directly to -them; your questions are likely to be answered much faster if you post -them to the Amanda Users mailing list: amanda-users@amanda.org +James da Silva + Hacker Emeritus + Contributions made under the UMD license +Mike Grupenhoff + Ex-UMIACS hacker + Contributions made under the UMD license -- James da Silva : Hacker Emeritus +Todd Kover + Mailing eist maintainer + Ex-UMIACS hacker, developer and supporter + Contributions made under the UMD license -- Mike Grupenhoff : ex-UMIACS hacker +James Mathiesen + Numerous bug fixes + Contributions made under the UMD license -- Todd Kover : lists & ex-UMIACS hacker, active developer and -supporter +Alan McIvor + Developer of amindex and various bug fixes + Contributions made under the UMD license -- James Mathiesen : numerous bug fixes +George Scott + Developer during 2.4.0 release cycle + Contributions made under the UMD license -- Alan McIvor : original developer of amindex -feature, various bug fixes +Alexandre Oliva + Long-time developer + Contributions made under the UMD license -- George Scott : active developer and -supporter in the 2.4.0 release cycle +Blair Zajac + De-facto maintainer between release 2.3.0 and the creation of the Amanda + Development Team, at some point after release 2.3.0.4. + Contributions made under the UMD license -- Alexandre Oliva : active developer and -supporter +Curtis Varner + Feature development and bug fixes + Contributions made under the UMD license -- Blair Zajac : de-facto maintainer between -release 2.3.0 and the creation of the Amanda Development Team, at some -point after release 2.3.0.4. +John R. Jackson + Security fixes, feature development + Contributions made under the UMD license -- Curtis Varner : planned features, bug fixes +Jean-Louis Martineau + New features, bug fixes, and current maintainer + Application API + Contributions made under GPLv2 -- John R. Jackson : security fixes, active -developer and supporter +Thomas Hepper : + Original Changer API + Contributions made under the UMD license -- Jean-Louis Martineau : active developer and supporter +Jon LaBadie + Active supporter + Contributions made under the UMD license -- Thomas Hepper : active developer of changer-src +Stefan G. Weichinger + Documentation author and compiler + Contributions made under the UMD license -- Jon LaBadie : active supporter +John Franks + Contributions made under GPLv2 -- Stefan G. Weichinger : documentation, active supporter +Paddy Sreenivasan + Contributions made under GPLv2 -- John Franks (jrfranks@zmanda.com>: active developer and supporter +Kevin Till + Contributions made under GPLv2 -- Paddy Sreenivasan (paddy@zmanda.com>: active developer and supporter +Ian Turner + Device API + Contributions made under GPLv2 -- Kevin Till (kevin.till@zmanda.com>: active developer and supporter +Dustin J. Mitchell + Device API, Changer API, Xfer Architecture, and Perl rewrite + Contributions made under GPLv2 -- Ian Turner (ian@zmanda.com>: active developer and supporter +Nikolas Coukouma + S3 Device + Contributions made under GPLv2 -- Dustin J. Mitchell (dustin@zmanda.com>: active developer and supporter +John Hein + Contributions made under the UMD license -Many other people have contributed to the development of Amanda; check -the ChangeLog for their names and e-mail addresses. +Nick Smith + Patches to ZFS applications and scripts + Contributions made under the UMD license + +Satya Ganga + Contributions made under GPLv2 + +Alan Hodgson + Contributions made under the UMD license + +Ben Slusky + amcrypt-ossl.sh and amcrypt-ossl-asym.sh + Contributions made under the UMD license + +Sam Couter + DVD-RW device + Contributions made under the UMD license diff --git a/ChangeLog b/ChangeLog index 01db0a1..23858a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,54 +1,3687 @@ +2010-05-28 Dan Locks + * VERSION: Update for release + +2010-05-28 Dan Locks + * packaging/Makefile.am: include common in EXTRA_DIST + +2010-05-28 Dan Locks + +2010-05-27 Jean-Louis Martineau + * server-src/find.c: Don't report taper line with filenum=0. + +2010-05-27 Dustin J. Mitchell + * installcheck/taper.pl: test for a new write after EOM without + splitting + * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking + this condition and switching to a new volume appropriately + +2010-05-26 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: cast port to integer + +2010-05-26 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: exit harder, to avoid cleanup + +2010-05-25 Dustin J. Mitchell + * perl/Makefile.am: add libamxfer as a dependency of libamglue + +2010-05-25 Dustin J. Mitchell + * installcheck/amtapetype.pl: use force for subsequent runs + +2010-05-25 Dustin J. Mitchell + * device-src/amtapetype.pl: close and re-open devices between tests + * man/xml-source/amtapetype.8.xml: fix -f docs + +2010-05-21 Jean-Louis Martineau + * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed' + with level if NDMP9_ILLEGAL_STATE_ERR. + +2010-05-21 Dustin J. Mitchell + * device-src/amtapetype.pl: get the block_size property earlier + * device-src/device.c: allow property_get after a DEVICE_ERROR + +2010-05-21 Jean-Louis Martineau + * server-src/driver.c: Always report "taperflush criteria not met". + +2010-05-21 Dustin J. Mitchell + * installcheck/Amanda_Changer.pl: test more configs + * man/xml-source/amanda.conf.5.xml: point users to + amanda-changers(7) + * perl/Amanda/Changer.pm: support either tpchanger or + tapedev in changer defs + +2010-05-19 Jean-Louis Martineau + * application-src/amsamba.pl: filter "Server not using user level ..." + +2010-05-19 Jean-Louis Martineau + * server-src/amtape.pl (inventory): print barcode from unknown state. + +2010-05-19 Jean-Louis Martineau + * perl/Amanda/Application.swg (default_validate): Use sysread. + +2010-05-18 Dustin J. Mitchell + * device-src/amtapetype.pl: don't fail when fsf_after_filemark is + required + +2010-05-17 Dustin J. Mitchell + * server-src/amfetchdump.pl: use syswrite so the filehandle gets + properly flushed + +2010-05-17 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: use IO::Socket::INET instead of + shelling out to 'nc' + +2010-05-17 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: add verbose property + * installcheck/Amanda_Changer_ndmp.pl: use it + +2010-05-14 Jean-Louis Martineau + * server-src/dumper.c: Handle indirecttcp. + +2010-05-14 Jean-Louis Martineau + * client-src/sendbackup.c: Handle indirecttcp. + +2010-05-14 Dustin J. Mitchell + * device-src/ndmp-device.c: add indirecttcp support + * installcheck/Amanda_Device.pl: test it lightly + +2010-05-14 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and + window_offset to mover_get_state + * device-src/ndmp-device.c: insert corresponding NULLs + +2010-05-13 Jean-Louis Martineau + * server-src/amcheckdump.pl: Check subprocess exit status and print + their stderr. + +2010-05-13 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Exit on error if gpg fail. + +2010-05-13 Jean-Louis Martineau + * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument. + +2010-05-13 Jean-Louis Martineau + * application-src/amgtar.c: fix exclude-file. + +2010-05-12 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: add regression test + * device-src/tape-device.c: set self->fd to -1 when closing; add + better error messages + +2010-05-11 Dan Locks + * packaging/common/substitute.pl: added. contains much machinery not + yet used in packaging. + * packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and + %%DATE%% macros which are expanded by substitute.pl. + * packaging/deb/changelog: renamed to above + * packaging/deb/rules: fix stray configure option + * packaging/deb/buildpkg: adjust to use substitute.pl instead of + figuring VERSION out directly. + +2010-05-10 Jean-Louis Martineau + * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync + +2010-05-07 Jean-Louis Martineau + * common-src/security-util.c; Use global buffer for + security_stream_read_sync. + * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer + returnned by security_stream_read_sync. + +2010-05-07 Dustin J. Mitchell + * device-src/rait-device.c: fix assertion failure when a child device + gives an error + * perl/Amanda/Changer/rait.pm: add support for braced drive specs + * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed + for an eject operation + * man/xml-source/amanda-changers.7.xml: document rait changer drive + specifications + +2010-05-06 Jean-Louis Martineau + * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB + for restore, escape the non glob include and exclude. + * client-src/client_util.h: Add include_list_glob and exclude_list_glob + to backup_support_option_t. + * client-src/client_util.c: Parse new support option. + * man/xml-source/amgtar.8.xml: Ducument new properties. + * server-src/amindexd.c: Don't clean_backslash, indexd should be sent + asis to amrecover. + +2010-05-06 Jean-Louis Martineau + * installcheck/taper.pl: Fix installcheck for previous patch. + +2010-05-06 Jean-Louis Martineau + * server-src/taper.pl: prepend "CONFIG:" to the error message if it + is an error because of a configuration setting. + * perl/Amanda/Report/human.pm: Don't report such error. + +2010-05-05 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: eliminate warning when device does not + have a valid status + +2010-05-05 Dustin J. Mitchell + * device-src/s3-device.c: fix several fatal flaws in the + read_block implementation + +2010-05-05 Dustin J. Mitchell + * perl/Amanda/Report/human.pm: don't assume parts are defined + +2010-05-04 Dustin J. Mitchell + * server-src/amvault.pl: add an --autolabel option to allow control + over which tapes are overwritten + * man/xml-source/amvault.8.xml: document it + +2010-05-04 Jean-Louis Martineau + * common-src/security-util.c: Free packet on close. + +2010-05-03 Dustin J. Mitchell + * common-src/glib-util.c: reorgnize glib_init to be compatible with + glib-2.24+ + +2010-05-03 Jean-Louis Martineau + * server-src/disk_history.c: Keep all parts. + +2010-05-03 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts + +2010-05-03 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume + recovery + * device-src/ndmp-device.c: add extra assertion + * device-src/xfer-device.h device-src/xfer-source-recovery.c + installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg + perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation + * perl/Amanda/Recovery/Clerk.pm: call use_device + +2010-04-30 Dustin J. Mitchell + * installcheck/Amanda_Changer_robot.pl: fix installchecks + to pass after previous change + +2010-04-29 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Default state file is in + $localstatedir/amanda + * man/xml-source/amanda-changers.7.xml: Document new location. + +2010-04-29 Jean-Louis Martineau + * device-src/directtcp-connection.c: Typo. + +2010-04-27 Jean-Louis Martineau + * server-src/amreport.pl: Print "FAIL" in email subject header if run + failed. + * installcheck/amreport.pl: Test it. + +2010-04-27 Paul C. Mantz + * perl/Amanda/Report/human.pm: better per-tape stat labels + * installcheck/amreport.pl: updated tests + +2010-04-27 Jean-Louis Martineau + * perl/Amanda/Logfile.swg (find_all_logs): Sort the list. + +2010-04-27 Dustin J. Mitchell + * VERSION: 3.1.0beta2 + +2010-04-27 Dustin J. Mitchell + * server-src/planner.c: change degraded-mode messages to make more + sense to the user + +2010-04-26 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new + changer have no inventory. + +2010-04-26 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: Use default change if message is + $DEFAULT_CHANGER + * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq + AMRECOVER_CHANGER + +2010-04-26 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: give total time from + dump start to dump end as total_duration + * server-src/taper.pl: use total_duration + +2010-04-26 Jean-Louis Martineau + * server-src/planner.c: Do not promote if no full estimate. + +2010-04-26 Paul C. Mantz + * installcheck/Amanda_Report.pl: changed part to partnum + +2010-04-23 Jean-Louis Martineau + * server-src/amcheckdump.pl: Check all process status. + +2010-04-23 Paul C. Mantz + * server-src/amreport.pl perl/Amanda/Report.pm + perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed + location of tape parts in Amanda::Report + * installcheck/Amanda_Report.pl: installchecks + +2010-04-23 Jean-Louis Martineau + * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread. + * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread. + * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static. + +2010-04-23 Jean-Louis Martineau + * ndmp-src/ndml_nmb.c: Don't log successful halt. + * server-src/dumper.c: Don't log no-op command. + +2010-04-23 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: fix assertion failure + reported by Wojciech Giel + +2010-04-23 Dustin J. Mitchell + * server-src/taper.pl: don't use IO::Socket, as it is badly broken + and not thread-safe on Solaris 8 + * xfer-src/element-glue.c: add debugging checks + +2010-04-22 Jean-Louis Martineau + * server-src/amcleanup.pl: Fix running command with system. + +2010-04-22 Jean-Louis Martineau + * example/Makefile.am: fix 'make clean' to not erase source files. + +2010-04-22 Dustin J. Mitchell + * man/xml-source/amanda-changers.7.xml: fix typo, thanks to + Jean-Francois Malouin + +2010-04-22 Paul C. Mantz + * perl/Amanda/Report/xml.pm: use bytes as data unit + +2010-04-22 Paul C. Mantz + * perl/Amanda/Report/xml.pm: tries need to show all programs + +2010-04-22 Jean-Louis Martineau + * perl/Amanda/Changer/ndmp.pm: $conn = undef + +2010-04-21 Dustin J. Mitchell + * server-src/amlabel.pl: add warning when the old label is in the + tapelist + +2010-04-19 Jean-Louis Martineau + * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is + seen a second time. + +2010-04-16 Dustin J. Mitchell + * server-src/amadmin.c: show all custom compression/encryption options + in amadmin disklist + * man/xml-source/amanda.conf.5.xml: document undocumented params + +2010-04-15 Dustin J. Mitchell + * server-src/amcleanup.pl: don't fail when run with no args + +2010-04-15 Paul C. Mantz + * perl/Amanda/Curinfo/Info.pm: fixed header parsing + * perl/Amanda/Curinfo.pm: corrected paths and infofile writing + * installcheck/Amanda_Curinfo.pl: installchecks + +2010-04-15 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path + +2010-04-14 Jean-Louis Martineau + Satya Ganga + * application-src/amsamba.pl: Fix use of include/exclude list. + +2010-04-14 Jean-Louis Martineau + * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED. + +2010-04-13 Dustin J. Mitchell + * common-src/conffile.c: fix derived value for autolabel + +2010-04-13 Dustin J. Mitchell + * man/xml-source/amanda-applications.7.xml: info about properties + * man/xml-source/amanda-devices.7.xml: info about properties + * man/xml-source/amanda-scripts.7.xml: info about properties + * man/xml-source/amzfs-snapshot.8.xml: fix typo + +2010-04-13 Dustin J. Mitchell + * NEWS: add info about deprecations in 2.6.1 + * man/xml-source/amanda-compatibility.7.xml: update manpage to + reflect info in NEWS + +2010-04-13 Paul C. Mantz + * server-src/amreport.pl: load holding disk before making report + * perl/Amanda/Report/human.pm: report holding disk correctly + * installcheck/amreport.pl: installcheck + +2010-04-13 Jean-Louis Martineau + * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c: + Always log NOTIFY_DATA_HALTED. + +2010-04-12 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: typo. + +2010-04-12 Jean-Louis Martineau + * server-src/taper.pl: Check hdr_buf, cancel_dump on error. + * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method. + * perl/Amanda/Report/human.pm: Print taper error message. + * server-src/find.c: Set current_label to "". + +2010-04-08 Paul C. Mantz + * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log + which search the logdir instead of the tapelist + * perl/Amanda/Logfile.pod: documentation + * server-src/amreport.pl: use find_latest_log insted of find_log + +2010-04-08 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: introduce define_steps and step, to + eliminate reference loops created by use of %subs + * perl/Amanda/MainLoop.pod: document it + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_multi.pl + installcheck/Amanda_Changer_ndmp.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_robot.pl + installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl + installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl + installcheck/Amanda_Recovery_Scan.pl + installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl + installcheck/amfetchdump.pl installcheck/amidxtaped.pl + installcheck/amlabel.pl perl/Amanda/Changer.pm + perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm + perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm + perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm + server-src/amcheck-device.pl server-src/amfetchdump.pl + server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl + server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it + +2010-04-08 Jean-Louis Martineau + * config/automake/scripts.am: comment double quote 'use lib'. + +2010-04-08 Jean-Louis Martineau + * application-src/amsamba.pl: Use tarmode. + +2010-04-08 Jean-Louis Martineau + * recover-src/amrecover.c: Print to debug what is sent to amindexd. + * recover-src/uparse.y: Parse setdate correctly. + +2010-04-08 Jean-Louis Martineau + * ndmp-src/ndma_comm_dispatch.c: + Comment "Second add_dir entry is non-conforming". + +2010-04-08 Dustin J. Mitchell + * server-src/planner.c: fix two bugs that caused planner to generate a + bogus schedule; remove a redundant assignment + +2010-04-07 Dan Locks + * packaging/rpm/amanda.spec: specify mandir explicitly to work around + old autoconf + +2010-04-07 Paul C. Mantz + * server-src/amreport.pl perl/Amanda/Report.pm + perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm + perl/Amanda/Report/xml.pm installcheck/amreport.pl + installcheck/Amanda_Report.pl: taped segments called parts, not chunks + +2010-04-07 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man. + +2010-04-07 Dustin J. Mitchell + * config/amanda/userid.m4: CHECK_USERID conditional + * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST + * installcheck/Makefile.am: use it + +2010-04-07 Jean-Louis Martineau + * server-src/amcheck.c: Don't exit on match_disklist error. + * server-src/diskfile.c (match_disklist): Generate better message for + strategy "skip" or ignore dle. + +2010-04-06 Jean-Louis Martineau + * recover-src/extract_list.c: Set restore_dir to NULL. + +2010-04-06 Paul C. Mantz + * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log + * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added + NDMP$_LOG_* messages for testing + +2010-04-05 Jean-Louis Martineau + * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory + property. + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots + * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when + loading slot 'current' + * installcheck/Amanda_Taper_Scan_traditional.pl: test it + +2010-04-05 Dustin J. Mitchell + * server-src/amidxtaped.pl: send changer error with MESSAGE + * installcheck/amidxtaped.pl: test for it + +2010-04-05 Dustin J. Mitchell + * config/amanda/version.m4: be resilient to all but the first + digit of the version number missing + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up + reference loop in %subs (interim solution -- this arrangement + leaks everywhere) + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after + every Interface operation, so that objects are not unreffed + during Perl's global cleanup. + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key + * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on + search failure; check for failure before printing "slot N" + prefix + * server-src/amcheck-device.pl: implement new user_msg_fn key + to print expected volume on failure + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Device.pod: document that finish() can be called even + if start() was not, to release resources + * device-src/ndmp-device.c: implement + * device-src/tape-device.c: implement + * perl/Amanda/Changer.pm: always finish() a device in $res->release() + +2010-04-05 Dustin J. Mitchell + * installcheck/run-ndmp.pl: development util to run ndmjob test daemon + * installcheck/Makefile.am: add util + +2010-04-05 Dustin J. Mitchell + * server-src/infofile.c: use %lld in scanning instead of %jd, + since Solaris 8 doesn't have %j support; also fix handling + of parse errors + +2010-04-05 Dustin J. Mitchell + * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as + DEVICE_STATUS_DEVICE_BUSY + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer.pm: check $err->failed before returning reason + +2010-04-02 Paul C. Mantz + * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode + * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON + * installcheck/amreport.pl: installchecks + +2010-04-02 Paul C. Mantz + * server-src/amreport.pl: accepts and ignores disk args in script mode + * installcheck/amreport.pl: checks + +2010-04-02 Dustin J. Mitchell + * perl/Amanda/Util.pod: correct inaccurate claims in burp + +2010-04-02 Dustin J. Mitchell + * perl/Amanda/Application.swg: fix situation where sizeof(IV) > + sizeof(gint) + +2010-04-02 Jean-Louis Martineau + * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd. + +2010-04-01 Jean-Louis Martineau + * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID + * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID. + * installcheck/amrecover.pl: Check 'localhost' hostname, + remove '^' from expect regex + * recover-src/uscan.l: Add [[:space:]]* in LINEFEED. + +2010-04-01 Dustin J. Mitchell + * application-src/ampgsql.pl: check permissions on archive dir, and + fail selfcheck if they are not sufficient. Also implement the + wal-max-wait=0 that's already documented + * man/xml-source/ampgsql.8.xml: document required permissions + +2010-03-31 Dustin J. Mitchell + * installcheck/amrecover.pl: fix diag() + +2010-03-31 Jean-Louis Martineau + * perl/Amanda/Changer.pm: use Carp qw( confess cluck ); + * perl/Amanda/Changer/robot.pm: $self->make_error("failed",... + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: fix. + * config/amanda/config.m4: fix. + +2010-03-31 Jean-Louis Martineau + config/amanda/config.m4: Use -a. + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: Use -a. + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: Use grep. + +2010-03-31 Jean-Louis Martineau + config/Makefile.am: Add set_full_version to EXTRA_DIST. + * config/set_full_version: Add the file. + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: New script to update FULL_VERSION from + VERSION, svn and git + * autogen: Execute config/set_full_version + * Makefile.am: Add dependencies to execute set_full_version if VERSION + change, and to re-run configure if FULL_VERSION change. + * config/amanda/version.m4: Use FULL_VERSION. + * packaging/deb/buildpkg: Use FULL_VERSION. + * packaging/rpm/amanda.spec: Use FULL_VERSION. + * packaging/rpm/buildpkg: Use FULL_VERSION. + +2010-03-30 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: be selective in import from POSIX + * server-src/amvault.pl: fix duplicate variable + +2010-03-30 Dustin J. Mitchell + * Makefile.am: add VERSION to EXTRA_DIST + * config/amanda/version.m4: use $srcdir/VERSION + +2010-03-30 Jean-Louis Martineau + * VERSION: 3.1.0beta1. + * configure.in: Call AMANDA_VERSION. + * config/amanda/version.m4: Add AMANDA_VERSION. + * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO. + +2010-03-29 Dustin J. Mitchell + * configure.in: update to rc19 + +2010-03-30 Jean-Louis Martineau + * server-src/driver.c: Retry direct to tape all aborted dump because + of missing holdingdisk space. + +2010-03-29 Dustin J. Mitchell + * configure.in: update to rc18 + +2010-03-29 Paul C. Mantz + * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage + +2010-03-28 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: catch signal exits too + * installcheck/Makefile.am installcheck/amvault.pl: basic amvault + installcheck + +2010-03-28 Dustin J. Mitchell + * server-src/amvault.pl: update with Changer and Catalog API changes + +2010-03-26 Dan Locks + * configure.in: update to rc17 + +2010-03-26 Dustin J. Mitchell + * installcheck/Makefile.am: don't run amrecover test under + --without-restore + +2010-03-26 Dustin J. Mitchell + * application-src/ampgsql.pl: don't die when gnutar issues non-fatal + errors, e.g., "file changed as we read it" + +2010-03-26 Dustin J. Mitchell + * installcheck/amrecover.pl: fix stupid error in installcheck + +2010-03-26 Dustin J. Mitchell + * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack + to force WAL file archives on ancient postgres versions + * installcheck/ampgsql.pl: don't skip tests on ancient versions + +2010-03-26 Dustin J. Mitchell + * common-src/Makefile.am common-src/match-test.c: test (some) match + functions + * common-src/match.c: add make_exact_disk_expression and + make_exact_host_expression + * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer + * installcheck/Makefile.am installcheck/amrecover.pl: new integration + tests + * oldrecover-src/extract_list.c recover-src/extract_list.c: use the + make_exact_.. functions + * common-src/amanda.h common-src/match.h application-src/amgtar.c + application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c + client-src/sendsize.c common-src/amxml.c common-src/fileheader.c + common-src/local-security.c common-src/util.c + oldrecover-src/set_commands.c recover-src/set_commands.c + server-src/amflush.c server-src/cmdline.c server-src/diskfile.c + server-src/find.c server-src/tapefile.c: move match.c prototypes from + amanda.h to match.h + +2010-03-25 Jean-Louis Martineau + * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump + or amflush is running. + +2010-03-25 Paul C. Mantz + * server-src/amreport.pl: amreport exits w/o error if mailer fails + * installchecks/amreport.pl: installcheck + +2010-03-25 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: err on the side of caution when + emulating except_slots in chg-compat, preventing an infinite + loop + +2010-03-25 Dan Locks + * configure.in: update to rc16 NOTEST + +2010-03-23 Dan Locks + * configure.in: update to rc15 NOTEST + +2010-03-23 Dan Locks + * configure.in: update to rc14 NOTEST + +2010-03-23 Dan Locks + * configure.in: update to beta1 NOTEST + +2010-03-23 Jean-Louis Martineau + * application-src/amsamba.pl: check open failure correctly, + improve debugging message. + +2010-03-23 Jean-Louis Martineau + * NEWS, ReleaseNotes: Change for 3.1.0 + +2010-03-23 Dustin J. Mitchell + * application-src/ampgsql.pl: handle empty incrementals, wait for WAL + files to be archived during full backup, don't backup postmaster.pid + or pg_xlog + * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section + describing the operation + * installcheck/ampgsql.pl: test restores more carefully, including + an empty incremental + +2010-03-22 Dan Locks + * configure.in: update to rc13 NOTEST + +2010-03-22 Dan Locks + * configure.in: update to rc12 NOTEST + +2010-03-22 Dustin J. Mitchell + * common-src/amfeatures.c common-src/amfeatures.h + perl/Amanda/Feature.pod: add a new feature to indicate that + amrecover quotes disks right: fe_amrecover_correct_disk_quoting + * common-src/match.c common-src/amanda.h: add an 'anchor' arg to + clean_regex + * oldrecover-src/extract_list.c oldrecover-src/set_commands.c + recover-src/extract_list.c recover-src/set_commands.c + server-src/diskfile.c: use it + * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly + * installcheck/amidxtaped.pl: test that + +2010-03-19 Jean-Louis Martineau + * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA. + +2010-03-19 Dan Locks + * configure.in: update to rc11. NOTEST + +2010-03-19 Jean-Louis Martineau + * recover-src/amrecover.c: Do add_config_override before loading the + config. + +2010-03-19 Jean-Louis Martineau + * server-src/driver.c: Continue flush on new tape if holdingdisk is + full. + +2010-03-18 Paul C. Mantz + * perl/Amanda/Report.pm: updated POD + +2010-03-18 Dan Locks + * configure.in: update to rc10. NOTEST + +2010-03-18 Dustin J. Mitchell + * application-src/ampgsql.pl: add a die_cb in command_validate and + command_selfcheck + +2010-03-17 Paul C. Mantz + * server-src/amreport.pl: added new command line options + * server-src/amdump.sh: updated usage of amreport + * installchecks/amreport.pl: installchecks + * man/xml-source/amreport.8.xml: usage doc update + * NEWS: added info about rewrite + +2010-03-17 Dan Locks + * configure.in: update to rc08. NOTEST + +2010-03-17 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed premature disk truncation in + dump summary + +2010-03-16 Dan Locks + * configure.in: update to rc08. NOTEST + +2010-03-16 Dustin J. Mitchell + * perl/Amanda/Tests.swg: add a simple threaded function + * perl/Makefile.am: and invoke it from 'make check' + +2010-03-16 Dustin J. Mitchell + * man/xml-source/amcryptsimple.8.xml: Fix formatting + +2010-03-16 Jean-Louis Martineau + * man/xml-source/ampgsql.8.xml: Fix formatting. + +2010-03-16 Jean-Louis Martineau + * common-src/debug.c: Set open_time in debug_setup_1. + +2010-03-15 Dustin J. Mitchell + * man/xml-source/amsamba.8.xml: document include/exclude expressions + +2010-03-15 Dustin J. Mitchell + * UPGRADING: add note about accidentally linking new versions against old + +2010-03-15 Paul C. Mantz + * perl/Amanda/Util.pod: added POD for slurp and burp + +2010-03-15 Dustin J. Mitchell + * installcheck/amreport.pl: add tests for exit status for planner + failure + +2010-03-15 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the + caller's responsibility + * installcheck/Amanda_Taper_Scribe.pl: corresponding changes + * server-src/taper.pl: handle input errors directly + +2010-03-15 Dustin J. Mitchell + * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c + device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno + function + * installcheck/Amanda_Device.pl: add lots of tape-positioning + installcehcks + * device-src/tape-device.c: fix positioning (adjust for funny bsf + behavior only in tape_device_seek_file) + +2010-03-15 Dustin J. Mitchell + * common-src/conffile.c: rename the default tapetype, since EXABYTE + sounds like it might actually be useful, but it's only 2M + * man/xml-source/amanda.conf.5.xml: remove default + * server-src/amcheck.c: only check whether fallback_splitsize < tape + length if splitting is enabled; check for a missing tapetype param + +2010-03-14 Dan Locks + * configure.in: update to rc06. NOTEST + +2010-03-11 Dan Locks + * configure.in: update to rc05. + +2010-03-11 Paul C. Mantz + * perl/Amanda/Report.pm: fixed order that messages are reported + +2010-03-11 Dan Locks + * configure.in: update to rc04 + +2010-03-10 Dustin J. Mitchell + * perl/Amanda/Changer/null.pm: note that constructor will not fail + * server-src/amidxtaped.pl: use chg-null if the changer constructor + fails + +2010-03-10 Dustin J. Mitchell + * perl/Amanda/Report.pm: count DLEs on the first tape + * perl/Amanda/Report/postscript.pm: display total part count + * installcheck/amreport.pl: changed output + +2010-03-10 Dustin J. Mitchell + * config/amanda/progs.m4: add a define if LPR is found + * server-src/amcheck.c: check it + +2010-03-09 Paul C. Mantz + * perl/Amanda/Report.pm: fixed caching of hostnames and dles + +2010-03-09 Dan Locks + * configure.in: rc02 + +2010-03-09 Dustin J. Mitchell + * man/xml-source/amanda-applications.7.xml: add brief example of + setting properties for an application + +2010-03-09 Paul C. Mantz + * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART + +2010-03-08 Dan Locks + * packaging/deb/rules: add chmod lines for etc/amanda + * packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750 + section, specify directories in 750 section to also be 750. + +2010-03-08 Paul C. Mantz + * perl/Amanda/Report.pm: record DLEs in seen order in the cache + * installcheck/Amanda_Report.pm: installcheck fixes + +2010-03-08 Dan Locks + * packaging/rpm/amanda.spec, packaging/deb/changelog: change version + number to %%VERSION%% + * packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct + version from configure.in, substitute version in appropriate files + * packaging/README: correct list of packages, add note on debian + package creation. + +2010-03-07 Dustin J. Mitchell + * installcheck/Installcheck/ClientService.pm: process error from fork + correctly + +2010-03-07 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: don't automatically generate + cached dumps - it causes more problems than it solves + +2010-03-07 Dustin J. Mitchell + * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f + instead of %lf + +2010-03-07 Dustin J. Mitchell + * server-src/amfetchdump.pl: fix usage message + * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove + default for mailto, as it is ignored + * installcheck/Amanda_Report.pl installcheck/amreport.pl + perl/Amanda/Report.pm perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm + server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb, + add --help and --version, remove unused functions + * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer' + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort + postscript output by filenum, not hostname/diskname + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm: stop counting an extra filemark per + dumpfile when calculating tape used + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always + print the on-medi size of a dumpfile, not its total size + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm: remove rounding when orig and + outsize are within 32k + +2010-03-06 Dustin J. Mitchell + * server-src/amreport.pl: don't use undef for stdout, stderr when + invoking mail or lpr - some don't like to have their std streams + closed + +2010-03-06 Jean-Louis Martineau + * server-src/amreport.pl: fix use of relative path for -l argument. + +2010-03-06 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line. + * installcheck/amreport.pl: check it. + +2010-03-05 Jean-Louis Martineau + * config/amanda/version.m4: Allow 2 digits version. + +2010-03-05 Jean-Louis Martineau + * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c: + include conffile.h, not config.h. + +2010-03-05 Dustin J. Mitchell + * configure.in config/amanda/progs.m4: AC_SUBST LPR-related + variables, and don't define them + * perl/Amanda/Constants.pm.in: add LPR-related constants + * installcheck/amreport.pl: lots of new tests, all hand-verified to + pass for the C amreport as well, sometimes with minor differences + * installcheck/mock/lpr.pl: mock 'lpr' for installchecks + * installcheck/mock/mail.pl: mock 'mail' for installchecks + * installcheck/Makefile.am: new mocks + * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output + support for amreport + * server-src/Makefile.am server-src/amreport.pl + server-src/amreport_new.pl server-src/reporter.c: + make the perl amreport "live" + +2010-03-05 Dustin J. Mitchell , + Jean-Louis Martineau , + Paul C. mantz + * perl/Amanda/Report.pm perl/Amanda/Report/human.pm + server-src/amreport_new.pl installcheck/Amanda_Report.pl: major + overhaul to perl reporting framework (collaborative effort of three + developers) + +2010-03-02 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Remove leading 0 on day date. + * server-src/amreport_new.pl: Remove leading 0 on day date. + +2010-03-02 Jean-Louis Martineau + * perl/Amanda/Report.pm: Set $self->{hostname}. + * perl/Amanda/Report/human.pm: Use $report->{hostname}. + +2010-03-03 Paul C. mantz + * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined + +2010-03-02 Paul C. Mantz + * perl/Amanda/Report.pm; added three-arg form of get_program_info() + * perl/Amanda/Report/human.pm: usage of three-arg form + * installcheck/Amanda_Report.pl: tests + +2010-03-02 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Remove coma. + +2010-03-02 Jean-Louis Martineau + * common-src/conffile.c: Correctly set autolabel from command line + '-olabel_new_tapes=' options. + +2010-03-02 Jean-Louis Martineau + * server-src/amidxtaped.pl: Exit if receive ABORT message. + * recover-src/extract_list.c: Send abort message on user request. + * common-src/amfeatures.c: Add fe_amidxtaped_abort. + * common-src/amfeatures.h: Add fe_amidxtaped_abort. + * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort. + +2010-03-02 Jean-Louis Martineau + * amandad-src/amandad.c: Wait up to 5 seconds for children termination. + +2010-03-02 Jean-Louis Martineau + * server-src/amflush.c: Delay creation of log file. + +2010-03-02 Jean-Louis Martineau + * common-src/conffile.c: Correctly set autolabel from label_new_tapes. + +2010-03-02 Paul C. Mantz + * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed + tapelist loading + +2010-03-02 Paul C. Mantz + * perl/Amanda/Report.pm: added tape_labels field for preserving tape + order + * perl/Amanda/Report/human.pm: use of tape_labels + * installcheck/Amanda_report.pl: installcheck, cleanup + +2010-03-01 Jean-Louis Martineau + * server-src/reporter.c: Set and check repdata. + +2010-03-01 Dustin J. Mitchell + * server-src/amcheck.c: adjust split-size warnings for more + detail with less overall verbosity + +2010-03-01 Jean-Louis Martineau + * server-src/reporter.c: Print FLUSH for failed flush. + +2010-03-01 Dustin J. Mitchell + * common-src/fileheader.c: fix typos + * server-src/amfetchdump.pl: add support for decryption + * server-src/amidxtaped.pl: same + * server-src/amrestore.pl: same + +2010-03-01 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Feature.pod + perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm + perl/Amanda/Util.pod: fix bad POD formatting + * perl/make_html.pl: fix perl warnings + +2010-03-01 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: add more detail about + include/exclude + * man/xml-source/amgtar.8.xml: and specific documentation of the + patterns for amgtar + +2010-03-01 Dustin J. Mitchell + * perl/Amanda/Feature.pod: document known features + +2010-03-01 Dustin J. Mitchell + * perl/Amanda/Xfer.pod: no need to remove sources + * perl/Amanda/Xfer.swg: remove reference loop, call correct callback + +2010-03-01 Dustin J. Mitchell + * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue + * man/xml-source/amanda-changers.7.xml: no longer "in transition" + * server-src/Makefile.am server-src/changer.c server-src/changer.h: + remove changer.[ch] + * server-src/amcheck.c: remove unused include + +2010-03-01 Dustin J. Mitchell + * common-src/conffile.c: remove debug message + +2010-03-01 Dan Locks + * packaging/rpm/amanda.spec: remove Provides: librestore + +2010-03-01 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: + new COMMAND-OPTIONS property. + * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml: + document new COMMAND-OPTIONS property. + +2010-02-28 Jean-Louis Martineau + * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if + common-src/amfeatures.h is modified. + +2010-02-27 Jean-Louis Martineau + * ndmp-src/amndmjob_main.c: #include "config.h" + * ndmp-src/ndma_cops_backreco.c: #include "util.h" + * ndmp-src/ndmjob_main.c: #include "config.h" + +2010-02-26 Jean-Louis Martineau + * installcheck/amidxtaped.pl: Fix for datapath eq "none". + +2010-02-26 Jean-Louis Martineau + * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS. + * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS. + * perl/Amanda/Process.pm (set_master_process): New function. + * server-src/amcleanup.pl: Use set_master_process. + +2010-02-26 Jean-Louis Martineau + * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and + DATAPATH-OK. + * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and + DATAPATH-OK. + * installcheck/amidxtaped.pl: Test them. + +2010-02-26 Dustin J. Mitchell + * installcheck/Installcheck/ClientService.pm: fix to wait for streams + to empty and hit EOF after exit + * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus + comment, and use -1 to signal no data EOF received + +2010-02-26 Paul C. Mantz + * perl/Amanda/Report/human.pm: added quoting of disks in per-disk + summary + +2010-02-26 Dustin J. Mitchell + * installcheck/Amanda_Changer_robot.pl: log test output too + * installcheck/Installcheck.pm: typo + * perl/Amanda/Changer.pm: note about member variables + * perl/Amanda/Changer/robot.pm: make debug callable during constructor + +2010-02-26 Jean-Louis Martineau + * server-src/find.c: Compute dump_status and message. + * server-src/find.c (print_find_result): Output dump_status and message. + * server-src/find.c (search_logfile): Check if label is in tapelist. + * server-src/find.h: Add dump_status and message to find_result_t. + * perl/Amanda/Logfile.swg: Swig it. + * perl/Amanda/DB/Catalog.pm: Set dump_status and message. + * installcheck/Amanda_DB_Catalog.pl: Test it. + * installcheck/Amanda_Logfile.pl: Test it. + * server-src/amcheckdump.pl: Use new search_logfile behaviour. + * server-src/amindexd.c: Use dump_status. + * server-src/amoverview.pl: Use new 'amadmin find' output. + * server-src/disk_history.c: Remove code no longer needed. + * server-src/tapefile.c (lookup_tapelabel): const the label argument. + * server-src/tapefile.h (lookup_tapelabel): const the label argument. + +2010-02-26 Jean-Louis Martineau + * common-src/conffile.c (set_config_overrides): new config override api. + * common-src/conffile.h (set_config_overrides): New prototype. + * perl/Amanda/Config.swg (set_config_overrides): Swigged. + * changer-src/chg-glue.pl, common-src/amgetconf.pl, + * common-src/file.c, device-src/amdevcheck.pl, + * device-src/amtapetype.pl, installcheck/Amanda_Config.pl, + * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm, + * installcheck/amgetconf.pl, recover-src/amrecover.c, + * server-src/amadmin.c, server-src/amcheck-device.pl, + * server-src/amcheck.c, server-src/amcheckdump.pl, + * server-src/amcleanup.pl, server-src/amfetchdump.pl, + * server-src/amflush.c, server-src/amlabel.pl, + * server-src/amlogroll.c, server-src/amreport_new.pl, + * server-src/amrestore.pl, server-src/amrmtape.pl, + * server-src/amservice.c, server-src/amtape.pl, + * server-src/amtrmidx.c, server-src/amtrmlog.c, + * server-src/amvault.pl, server-src/chunker.c, + * server-src/driver.c, server-src/dumper.c, + * server-src/planner.c, server-src/reporter.c, + * server-src/taper.pl: Use new config override api. + +2010-02-25 Dustin J. Mitchell + * server-src/amcheck.c: add warning if the config might generate >1000 + parts on a volume + +2010-02-25 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name, + and use an appropriate prefix for debug messages + +2010-02-25 Dustin J. Mitchell + * Makefile.am: remove restore-src from lint rule + * configure.in: remove restore-src/Makefile + * restore-src/: remove + * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src + +2010-02-25 Dustin J. Mitchell + * Makefile.am: stop building restore-src + * common-src/amfeatures.c: remove no-longer-supported + fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!) + * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case + * installcheck/Amanda_Util.pl: tests + * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped + +2010-02-25 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: include more compressible + data and clean up afterward + * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data + better, and fix handling of failures to not loop forever + * installcheck/amidxtaped.pl: test that compressed dumps come back at + their orig_size; check for a holding device without a trailing ":0"; + send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label, + and even missing FSF=; check failure on unrecognized command lines + +2010-02-24 Dustin J. Mitchell + * installcheck/amidxtaped.pl: installcheck improvements: + create a "real" holding file; send a DATESTAMP= command + +2010-02-24 Dustin J. Mitchell + * perl/Amanda/Recovery/Planner.pm: add support for predefined plans + * installcheck/Amanda_Recovery_Planner.pl: test + +2010-02-24 Dustin J. Mitchell + * perl/Amanda/Xfer.swg: fix != override + * installcheck/Amanda_Xfer.pl: test + * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type + * perl/Amanda/MainLoop.pod: POD tweaks + * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl + server-src/amfetchdump.pl: add directtcp_supported arg to + xfer_src_cb; finish device when quitting clerk + * perl/Amanda/Recovery/Scan.pm: add error handling + * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size + * recover-src/extract_list.c: fix header debugging + +2010-02-24 Dustin J. Mitchell + * common-src/amanda.h installcheck/Installcheck/ClientService.pm + perl/Amanda/Constants.pm.in: move stream constants to + Amanda::Constants + * perl/Makefile.am perl/Amanda/ClientService.pm: new package + * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests + +2010-02-24 Dustin J. Mitchell + * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and + tapespec marhsalling support + * installcheck/Amanda_Util.pl: tests (for tapespec anyway) + +2010-02-23 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed hostname truncation + +2010-02-19 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to + make fake holding files; don't try to load a dumpcache unless both + server and client components are present + * installcheck/Amanda_Xfer.pl: count tests right in skip + +2010-02-19 Paul C. Mantz + * perl/Amanda/Report/human.pm: percents not displayed at 100%, print + the end of a string in per-dump summary + +2010-02-19 Dustin J. Mitchell + * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a + boolean + * xfer-src/xfer.c: if any setup operation fails, skip the starts and + return + * device-src/xfer-dest-taper-directtcp.c + device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c + xfer-src/element-glue.c xfer-src/source-directtcp-connect.c + xfer-src/xfer-test.c: change setup() methods to return a boolean + * device-src/ndmp-device.c: clean up listen_addrs if not null + +2010-02-19 Jean-Louis Martineau + * common-src/file.c (mkpdir): Fix. + +2010-02-19 Jean-Louis Martineau + * common-src/file.c (mkpdir): Don't use access. + +2010-02-18 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD + +2010-02-18 Dustin J. Mitchell + * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT, + with attendant API changes (constructor takes a device; sends + XMSG_READY) + * device-src/xfer-device.h: prototype changes + * xfer-src/element-glue.c: remove debug message + * perl/Amanda/Xfer.pod: docs + * perl/Amanda/XferServer.swg: SWIG new parameters + * perl/Amanda/Recovery/Clerk.pm: use new API + * installcheck/Amanda_Xfer.pl: test + * installcheck/Amanda_Recovery_Clerk.pl: test some more + * installcheck/Installcheck/Dumpcache.pm: add code to determine + the timestamps for a cached dump after loading it + +2010-02-18 Dustin J. Mitchell + * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h: + add a get_xfer_mechs method to xfer elements so that elements can + dynamically specify their mech pairs + +2010-02-18 Dustin J. Mitchell + * device-src/ndmp-device.c: check for fatal errors in directtcp + methods + * device-src/xfer-dest-taper-directtcp.c: track device_listen + failures better + * installcheck/Amanda_Xfer.pl: test setup cancellation + * perl/Amanda/Taper/Scribe.pm: remove leftover debug code + * xfer-src/element-glue.c: always send XMSG_DONE, even on error + +2010-02-17 Dustin J. Mitchell + * device-src/ndmp-device.c: sanity-check file number + * device-src/xfer-dest-taper-directtcp.c: same + * device-src/xfer-dest-taper-splitter.c: same + +2010-02-17 Paul C. Mantz + * perl/Amanda/Util.swg (finish_application): Don't check $config_name. + +2010-02-17 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed output of 'incr dump only' + fields + +2010-02-17 Jean-Louis Martineau + * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c: + add config_init(0, NULL); + * recover-src/extract_list.c: Typo. + +2010-02-16 Jean-Louis Martineau + * server-src/amadmin.c: Set a config for version subcommand. + +2010-02-16 Jean-Louis Martineau + * common-src/amfeatures.c: New fe_amrecover_origsize_in_header. + * common-src/amfeatures.h: New fe_amrecover_origsize_in_header. + * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header. + * common-src/fileheader.h (dumpfile_t): Add orig_size. + * common-src/timestamp.c (get_time_from_timestamp): New function to + convert a char timestamp to time_t. + * common-src/timestamp.h (get_time_from_timestamp): Prototype. + * restore-src/restore.c: Check fe_amrecover_origsize_in_header. + * server-src/driver.c: Protoocl change to send orig_kb to taper. + * server-src/driverio.c: Protoocl change to send orig_kb to taper. + * server-src/find.c: Get orig_kb from log files. + * server-src/find.h (find_result_t): add orig_kb. + * server-src/holding.c (holding_set_origsize): New function to seti + 'ORIGSIZE' in an holding file. + * server-src/holding.h (holding_set_origsize): Prototype. + * server-src/infofile.c: '(char *)0' to NULL. + * server-src/taper.pl: Parse orig-kb in protocol, log it. + * perl/Amanda/DB/Catalog.pm: Set orig_kb. + * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb. + * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats. + * installcheck/taper.pl: Fix for orig-kb in protocol. + +2010-02-16 Jean-Louis Martineau + * recover-src/extract_list.c: Fix crash for non application restore. + +2010-02-16 Jean-Louis Martineau + * server-src/amcheckdump.pl: Less verbose, add --verbose option. + * man/xml-source/amcheckdump.8.xml: Document new --verbose option. + +2010-02-15 Jean-Louis Martineau + * server-src/taper.pl: Log 'no-tape' if the changer creation failed. + +2010-02-12 Jean-Louis Martineau + * application-src/ampgsql.pl: Put stderr of tar in the debug file. + +2010-02-12 Paul C. Mantz + * perl/Amanda/Report.pm: get per-tape info from L_PART instead of + L_INFO lines + * perl/Amanda/Report/human.pm: widen text field for tape usage + * installcheck/Amanda_Report.pl: installchecks + +2010-02-11 Jean-Louis Martineau + * common-src/conffile.c: Assert if a config is not set. + * common-src/amgetconf.pl, client-src/calcsize.c, + client-src/client_util.c, client-src/killpgrp.c, + client-src/rundump.c, client-src/runtar.c, + installcheck/Amanda_Debug.pl: Set a default config. + +2010-02-11 Jean-Louis Martineau + * common-src/conffile.c: New debug_days option. + * common-src/conffile.h: New debug_days option. + * man/xml-source/amanda-client.conf.5.xml: Document debug_days option. + * man/xml-source/amanda.conf.5.xml: Document debug_days option. + * common-src/debug.c: Don't do unlink in debug_open. + * common-src/Makefile.am: Fix for test program. + * common-src/amgetconf.pl: Correctly do dbopen and dbclose. + Call Amanda::Util::finish_application. + * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext. + * perl/Amanda/Util.pod: Document. + * common-src/file.c, client-src/getfsent.c, + server-src/infofile.c: Call dbclose(); + * changer-src/chg-glue.pl, device-src/amdevcheck.pl, + device-src/amtapetype.pl, server-src/amcheckdump.pl, + server-src/amcleanup.pl, server-src/amfetchdump.pl, + server-src/amrestore.pl, server-src/amrmtape.pl, + server-src/amvault.pl, + server-src/taper.pl: Call Amanda::Util::finish_application. + +2010-02-11 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument. + * perl/Amanda/Recovery/Scan.pm: Fix doc. + * server-src/amcheck-device.pl: New user_msg_fn. + * server-src/amlabel.pl: New user_msg_fn. + * server-src/amtape.pl: New user_msg_fn. + * installcheck/amlabel.pl: Fix installcheck. + +2010-02-11 Dustin J. Mitchell + * xfer-src/xfer.c xfer-src/xfer-element.h: add + XFER_MECH_DIRECTTCP_CONNECT + * xfer-src/source-directtcp-connect.c: element that uses it + * xfer-src/dest-directtcp-listen.c: element that uses it + * xfer-src/element-glue.c: glue for it + * xfer-src/xfer-test.c: test it + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it + * installcheck/Amanda_Xfer.pl: test it some more + * xfer-src/Makefile.am: new files + * xfer-src/dest-directtcp-connect.c: check addrs is not empty + * perl/amglue/directtcp.swg: handle empty address lists better + +2010-02-11 Dustin J. Mitchell + * installcheck/Makefile.am: don't run amidxtaped on + --without-restore + * installcheck/Installcheck/ClientService.pm + installcheck/amidxtaped.pl: kill amidxtaped on timeout + * restore-src/amidxtaped.c: don't call safe_fd after the + app has already started - it closes fd's in use by + system libraries for e.g., LDAP access + +2010-02-11 Jean-Louis Martineau + * perl/Amanda/Application.swg: Add read_magic_block and + write_magic_block. + * perl/Amanda/Application.pod: Document them. + +2010-02-10 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed columnspec code + +2010-02-10 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument. + * server-src/amtape.pl: New user_msg_fn. + +2010-02-10 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Document undef state. + * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN. + * perl/Amanda/Changer/single.pm: Set state to undef. + * perl/Amanda/Recovery/Scan.pm: Handle undef state. + +2010-02-10 Jean-Louis Martineau + * server-src/taper.pl: Log no-tape error if no available tape. + +2010-02-10 Dustin J. Mitchell + * installcheck/amidxtaped.pl: skip DirectTCP tests if + --without-ndmp + +2010-02-10 Dustin J. Mitchell + * restore-src/restore.c: fix double-free error + +2010-02-09 Dustin J. Mitchell + * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped + tests + * amandad-src/amandad.c: comments + * common-src/amanda.h: comments + * restore-src/amidxtaped.c: don't check security when invoked with + 'installcheck' as argv[1] + +2010-02-09 Dustin J. Mitchell + * installcheck/Installcheck/ClientService.pm: utility to test + client services (noop, sendbackup, etc.) + * installcheck/Makefile.am installcheck/noop.pl: new test + * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking + +2010-02-09 Jean-Louis Martineau + * restore-src/amidxtaped.c: Check from_amandad before + fe_recover_splits. + +2010-02-09 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle. + +2010-02-09 Paul C. Mantz + * perl/Amanda/Report/human.pm: renamed variables to be more descriptive + +2010-02-09 Jean-Louis Martineau + * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault. + * man/xml-source/amanda-client.conf.5.xml, + man/xml-source/amanda.conf.5.xml: Use them. + +2010-02-09 Dan Locks + * amar-src/Makefile.am: add installperms stanza + +2010-02-08 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type. + +2010-02-08 Jean-Louis Martineau + * client-src/client_util.c: New AMFEATURES application support option, + application_property_add_to_argv take a amfeatures argument. + * client-src/client_util.h: New protoype. + * client-src/selfcheck.c, client-src/sendbackup.c, + client-src/sendsize.c, + recover-src/extract_list.c: Pass the server amfeatures as argument + to application_property_add_to_argv. + * common-src/amfeatures.c: New fe_sendbackup_noop. + * common-src/amfeatures.h: New fe_sendbackup_noop. + * server-src/dumper.c: Ignore "sendbackup: no-op' message. + +2010-02-08 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg: + SWIG amfeatures + * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run + tests + * common-src/amfeatures.h: add SWIG conditionals + * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it + +2010-02-06 Dustin J. Mitchell + * perl/Amanda/Config.pod: document autolabel format + * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val + +2010-02-06 Jean-Louis Martineau + * common-src/conffile.c: Add autolabel config option. + * common-src/conffile.h: Add autolabel config option. + * man/xml-source/amanda.conf.5.xml: Document autolabel. + * perl/Amanda/Config.swg: Swig autolabel. + * perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Scan.pm: Use autolabel. + * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl, + installcheck/amcheck.pl, installcheck/amdevcheck.pl, + installcheck/amdump.pl, installcheck/pp-scripts.pl, + installcheck/taper.pl: Fix to use autolabel. + +2010-02-05 Paul C. Mantz + * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm, + * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm, + * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod, + * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod, + * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API + STATUS" pod header + +2010-02-05 Paul C. Mantz + * perl/Amanda/Report/human.pm: made fixed appearance of per-level + column in output_stats + +2010-02-04 Jean-Louis Martineau + * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist. + +2010-02-04 Jean-Louis Martineau + * perl/Makefile.am: Fix bad merge. + +2010-02-03 Paul C. Mantz + * perl/Amanda/Report/human.c: increased width of output_stats + fields + +2010-02-03 Jean-Louis Martineau + * server-src/amadmin.c: Use %jd for gint. + +2010-02-03 Jean-Louis Martineau + * server-src/amadmin.c: Add 'estimate' command'. + * man/xml-source/amadmin.8.xml: Document estimate command. + * server-src/planner.c, server-src/server_util.c, + server-src/server_util.h: Move internal_server_estimate and + server_can_do_estimate from planner.c to server_util.c + +2010-02-03 Jean-Louis Martineau + * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan + * installcheck/Amanda_Recovery_Clerk.pl: Test it. + +2010-02-03 Jean-Louis Martineau + * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan. + +2010-02-03 Jean-Louis Martineau + * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan + * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan. + * perl/Amanda/Changer/compat.pm: Print device_name. + * perl/Amanda/Interactive.pm: Base class for interactivity. + * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout. + * perl/Amanda/Recovery/Scan.pm: Scan changers + * perl/Makefile.am: Add Amanda/Interactive.pm, + Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm. + * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan. + * server-src/amtape.pl: Use Amanda::Recovery::Scan. + +2010-02-03 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir + * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk + * installcheck/amdevcheck.pl: give an explicit device name, now that + tapedev is not set + +2010-02-03 Dustin J. Mitchell + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + add debug_recovery + * perl/Amanda/Recovery/Clerk.pm: use it + * perl/Amanda/Recovery/Planner.pm: use it + +2010-02-03 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat + +2010-02-03 Dustin J. Mitchell + * device-src/Makefile.am device-src/xfer-device.h + device-src/xfer-source-recovery.c device-src/xfer-source-taper.c + installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename + Amanda::Taper::Source to Amanda::Recovery::Source + +2010-02-03 Dustin J. Mitchell + * perl/Makefile.am: check all .pm files (some had been missed) + +2010-02-03 Dustin J. Mitchell + * perl/Amanda/Changer.pm: fix bogus POD + +2010-02-03 Jean-Louis Martineau + * application-src/amsamba.pl: Fix parsing of unc if disk is noti + defined. + +2010-02-03 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Set $chg->{'chg_name'} + +2010-02-02 Dustin J. Mitchell + * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger= + +2010-02-02 Dustin J. Mitchell + * server-src/amfetchdump.pl: only output a filename with a partnum + when -n was given + +2010-02-02 Dustin J. Mitchell + * device-src/ndmp-device.c: fix failure to check for fatal errors, use + signed 'delta' + * device-src/tape-device.c: rewind correctly, even to the current file + * device-src/vfs-device.c: set in_file=FALSE on finish() + * installcheck/Amanda_Device.pl: check reading file header twice + +2010-02-02 Dustin J. Mitchell + * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl + installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl + installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl + installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl + xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead + of xfer_state == XFER_DONE + +2010-02-02 Dustin J. Mitchell + * man/xml-source/amanda-auth.7.xml: reduce circular references + +2010-02-01 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add a :constants tag, clean up POD + +2010-01-31 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN. + +2010-01-30 Jean-Louis Martineau + * common-src/conffile.c: Allow multiple scripts on one line. + +2010-01-29 Dan Locks + * packaging/rpm/amanda.spec: move manpages to + defattr(644,root,root,..) section + +2010-01-29 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: inculde dumps on holding + * installcheck/Amanda_DB_Catalog.pl: tests + * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding + * installcheck/Amanda_Recovery_Planner.pl: tests + * perl/Amanda/Recovery/Clerk.pm: recover from holding with + Amanda::Xfer::Source::Holding when appropriate + * installcheck/Amanda_Recovery_Clerk.pl: tests + * server-src/amfetchdump.pl: give better messaging when recovering + from holding, don't append partnum unless it's a multipart dump + * installcheck/amfetchdump.pl: tests + +2010-01-29 Dustin J. Mitchell + * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b, + and -w options + * restore-src/Makefile.am restore-src/amfetchdump.c: remove + * server-src/Makefile.am server-src/amfetchdump.pl: new version + of amfetchdump that uses Clerk and Planner + * installcheck/amfetchdump.pl: updates to tests (change 'tape' + to 'volume', no more -b, add quotes around labels + +2010-01-29 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package + * installcheck/Amanda_Recovery_Planner.pl + installcheck/Makefile.am: tests + +2010-01-29 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module + * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl: + tests + +2010-01-29 Dustin J. Mitchell + * installcheck/Amanda_MainLoop.pl: a call_after test that is more + stable when the system clock is stepping + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday() + +2010-01-29 Dustin J. Mitchell + * installcheck/Amanda_Logfile.pl: note about checks + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it + * server-src/find.c server-src/find.h: add dynamic_disklit param + to search_holding_disk + +2010-01-28 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: Fix current in inventory result. + * installcheck/Amanda_Changer_multi.pl: Test it. + +2010-01-27 Dustin J. Mitchell + * installcheck/amfetchdump.pl: don't use an END block for cleanup + +2010-01-27 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps + * installcheck/Amanda_DB_Catalog.pl: test it + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level + +2010-01-27 Dustin J. Mitchell + * changer-src/chg-glue.pl: fix chg-glue to be more careful about + releasing the device first + +2010-01-27 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress' + cached dumps + * installcheck/amfetchdump.pl: more/better tests + * man/xml-source/amfetchdump.8.xml: formatting + +2010-01-27 Dustin J. Mitchell + * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm + perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod: + fix typos + +2010-01-27 Paul C. Mantz + * perl/Amanda/Util.pm: added safe_overwrite_file + * installcheck/Amanda_Util.pl: installcheck + +2010-01-27 Jean-Louis Martineau + * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch. + +2010-01-27 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Document new inventory result. + * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm, + perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/robot.pm, + perl/Amanda/Changer/single.pm: Generate new inventory result. + * installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_multi.pl, + installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_robot.pl: Fix for new inventory result. + * server-src/amtape.pl: Use new inventory result. + +2010-01-26 Paul C. Mantz + * perl/Amanda/Util.swg: added slurp and burp subs + * installcheck/Amanda_Util.pl: installcheck for slurp and burp + * installcheck/Installcheck/Run.pm: use of slurp in production + +2010-01-26 Jean-Louis Martineau + * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements. + * perl/Amanda/Report/human.pm: Many improvements. + * installcheck/Amanda_Report.pl: Fix for new data. + * perl/Makefile.am: Check AmandaReport_DATA. + +2010-01-26 Jean-Louis Martineau + * common-src/conffile.h: Add getconf_linenum. + * perl/Amanda/Config.swg: Add getconf_linenum. + * perl/Amanda/Config.pod: Document getconf_linenum. + * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command + line without setting the other to ''. + +2010-01-25 Dustin J. Mitchell + * perl/amglue/bigint.c: call SPAGAIN after loading + Math::BigInt, in case the stack base has moved + * perl/amglue/integers.swg: don't place a bigint on + the stack until the stack pointer has been restored + * perl/Amanda/Header.swg: use static + +2010-01-22 Dustin J. Mitchell + * installcheck/Amanda_DB_Catalog.pl: remove recursive links that + confuse old is_deeply implementations + +2010-01-22 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit + more carefully; add ability to query and sort dumps; use weak refs to + break reference loops + * installcheck/Amanda_DB_Catalog.pl: tests + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref + * server-src/amvault.pl: update to match + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host, + match_disk, and match_datestamp, and document dumps_match_dumpspecs + +2010-01-21 Jean-Louis Martineau + * device-src/ndmp-device.c, device-src/rait-device.c, + device-src/s3-device.c, device-src/tape-device.c, + device-src/vfs-device.c: Set volume_header with the written header + when opened in write mode. + +2010-01-21 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Many fix. + * server-src/amreport_new.pl: Many fix. + +2010-01-18 Jean-Louis Martineau + * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines. + * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP + data path. + +2010-01-19 Paul C. Mantz + * installcheck/amreport.pl: made output checks ignore spacing + +2010-01-18 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c: even better logging for connection setup and + close + +2010-01-18 Dustin J. Mitchell + * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c + ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad + +2010-01-18 Dustin J. Mitchell + * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo + +2010-01-18 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so + that the scribe can cancel a transfer in an error situation + * installcheck/Amanda_Taper_Scribe.pl: git it an xfer + * server-src/taper.pl: git it an xfer + +2010-01-18 Dustin J. Mitchell + * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device, + and return NDMP_DEVICE_BUSY_ERR on a collision + * device-src/ndmp-device.c: close the tape agent before switching + connections, and before closing a device, to avoid + NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the + tape agent, as the mover may already be active + +2010-01-18 Dustin J. Mitchell + * restore-src/restore.c: add another htonl invocation for ipv4 address + +2010-01-17 Dustin J. Mitchell + * perl/Amanda/Xfer.pod: fix POD typo + +2010-01-17 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Set drive state to unknown. + +2010-01-17 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: allow multiline responses + * installcheck/Amanda_Changer_compat.pl: test + +2010-01-17 Dustin J. Mitchell + * installcheck/Amanda_Curinfo.pl: remove spurious diag() + +2010-01-17 Dustin J. Mitchell + * gnulib/regenerate/regenerate: add regex module, for Mac OS X + compatibility; no change in gnulib version + * config/gnulib/* gnulib/*: resulting gnulib updates + +2010-01-17 Dustin J. Mitchell + * man/xml-source/amreport.8.xml: fix typo in manpage + +2010-01-17 Jean-Louis Martineau + * perl/Amanda/Changer.pm: $chg->load always read ther label. + * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm, + * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm, + * perl/Amanda/Changer/single.pm: $chg->load always read ther label. + * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm, + * server-src/amcheck-device.pl, server-src/amcheckdump.pl, + * server-src/amlabel.pl, server-src/amrestore.pl, + * server-src/amtape.pl, server-src/amvault.pl: Don't read the label. + +2010-01-15 Paul C. Mantz + * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl + 5.6 compatibility + +2010-01-15 Jean-Louis Martineau + * installcheck/Amanda_Changer_robot.pl: Typo. + +2010-01-15 Jean-Louis Martineau + * amandad-src/amandad.c: iread errfd and close it on termination. + +2010-01-15 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add + update '1-4=' syntax to mark slot as being in unknown state. + * man/xml-source/amanda-changers.7.xml: Document new syntax. + * installcheck/Amanda_Changer_multi.pl: Test new syntax. + * installcheck/Amanda_Changer_robot.pl: Test new syntax. + +2010-01-15 Jean-Louis Martineau + * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for + skip disk. + * server-src/diskfile.c (disable_skip_disk): New function to set todo + to 0 for skip disk. + * server-src/diskfile.h (disable_skip_disk): Add prototype. + * server-src/amcheck.c, server-src/driver.c, server-src/planner.c + server-src/reporter.c: Call disable_skip_disk. + +2010-01-14 Jean-Louis Martineau + * perl/Makefile.am: typo. + +2010-01-14 Paul C. Mantz + * server-src/amreport_new.pl: amreport rewrite in perl + * perl/Amanda/Report.pm perl/Amanda/Report/human.pm + perl/Amanda/Report/xml.pm: factored out output formats and + added legacy format + * perl/Makefile.am server-src/Makefile.am: makefile changes + * contrib/amreport.rnc: amreport xml spec in RelaxNG + +2010-01-13 Dustin J. Mitchell + * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg: + make device_listen and device_accept callable anywhere; be explicit + about conn refcount from accept + * device-src/ndmp-device.c: don't call device_use_connection, as + that method requires ACCESS_NULL + * restore-src/restore.c: fix typo + +2010-01-13 Dustin J. Mitchell + * server-src/taper.pl: fix taper writing status too quickly + +2010-01-13 Dustin J. Mitchell + * client-src/client_util.c: fix to send the --direct-tcp and + --data-path arguments to applications + * client-src/sendbackup.c: add a bit of debugging to sendbackup + +2010-01-13 Dustin J. Mitchell + * restore-src/restore.c: add missing htonl to restore.c for ipv4 + address; fix typo + +2010-01-13 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging + messages, including a fancy connection ID to help debug problems + using the wrong NDMP connection at the wrong time + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: work around record_size bug in ndmjob + +2010-01-13 Dustin J. Mitchell + * installcheck/amfetchdump.pl: check restored files more closely + +2010-01-13 Dustin J. Mitchell + * installcheck/taper.pl: taper installcheck to run multiple dumps + on a spanned NDMP device + +2010-01-13 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache + * installcheck/Installcheck/Mock.pm: add a way to revive it for + recovery tests + * installcheck/amfetchdump.pl: use it + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: correctly handle devices while they are + coming online after a load + +2010-01-13 Dustin J. Mitchell + * ndmp-src/scsiconst.h: fix typo in constant name + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as + 'blank', mark them as unknown + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems + with several + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE + MEDIUM + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: fix parsing of device node in ndmp-device + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: fix dangling reference + +2010-01-11 Dustin J. Mitchell + * common-src/Makefile.am common-src/fileheader-test.c: new test + * common-src/fileheader.c common-src/fileheader.h: validate a lot + of inputs; use g_debug; handle compressed/comp_suffix and + encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix + bug in parsing empty heredoc + * device-src/amtapetype.pl: add 'program' to header + * installcheck/Amanda_Xfer.pl: add 'program' to header + * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd + and document interrelationships of fields + +2010-01-08 Dustin J. Mitchell + * perl/Makefile.am: don't build useless static versions of perl libs + +2010-01-08 Dustin J. Mitchell + * device-src/xfer-source-taper.c: make element cancellation work + +2010-01-08 Dustin J. Mitchell + * perl/Amanda/Xfer.swg: allow xfer elements to be compared for + identity + +2010-01-08 Dustin J. Mitchell + * common-src/simpleprng.c common-src/simpleprng.h: add a method to + extract the current seed from the PRNG state + * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed() + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it + +2010-01-07 Paul C. Mantz + * installcheck/Amanda_Curinfo.pl: fixed optional dependency on + Text::Diff + +2010-01-07 Paul C. Mantz + * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h + * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo + * installcheck/Amanda_Curinfo.pl: installcheck + * perl/Makefile.am installcheck/Makefile.am: makefile additions + +2010-01-06 Dustin J. Mitchell + * ndmp-src/ndma_tape.c: halt on media error + * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c + ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove + NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR + * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add + NDMP9_MOVER_HALT_MEDIA_ERROR + +2010-01-06 Jean-Louis Martineau + * perl/Makefile.am: add a dependency to run swig if the .pod is modified. + +2010-01-06 Jean-Louis Martineau + * perl/Amanda/NDMP.pod: fix %}. + +2010-01-06 Jean-Louis Martineau + * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error. + +2010-01-06 Dustin J. Mitchell + * perl/Amanda/NDMP.pod: typo + * perl/Amanda/NDMP.swg: actually include POD + +2010-01-05 Dustin J. Mitchell + * device-src/device.c device-src/device.h: remove conn argument from + read_to_connection and write_from_connection; check for ACCESS_NULL + * device-src/ndmp-device.c: remove conn argument, call use_connection + from accept_impl + * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl + perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c + device-src/xfer-dest-taper-directtcp.c: don't supply conn argument, + call use_connection at the appropriate time + +2010-01-05 Dustin J. Mitchell + * device-src/ndmp-device.c: add an eject() implementation + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that + ndmjob does not output logging info to stdout during installchecks + +2010-01-04 Dustin J. Mitchell + * perl/amglue/directtcp.swg: don't use inet_ntoa until in is + initialized + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton + pattern and the identifiers that supported it + * device-src/ndmp-device.c: don't worry about idents + * perl/Amanda/Changer/ndmp.pm: don't worry about idents + * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document + * installcheck/Amanda_NDMP.pl: change tests + +2010-01-04 Dustin J. Mitchell + * device-src/device.c device-src/device.h: change can_use_connection + to the imperative use_connection + * device-src/ndmp-device.c: implement use_connection + * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c + device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c: + add a use_device method, start_part no longer needs a device + * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod + perl/Amanda/XferServer.swg: SWIG it + * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part + * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it + +2010-01-04 Dustin J. Mitchell + * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests + on WANT_NDMP + +2010-01-04 Dustin J. Mitchell + * perl/amglue/directtcp.swg: initialize the other struct in_addr by + member name, too (see 2009-12-29) + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks + * installcheck/Installcheck/Mock.pm: use chg-ndmp directly + * installcheck/mock/chg-ndmjob.pl: remove + * installcheck/Amanda_Changer_ndmp.pl: new test + * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl + installcheck/Amanda_Xfer.pl installcheck/Makefile.am + installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for + tests via I::Mock + * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every + time, process sense data correctly, use correct element addresses + for MOVE MEDIUM + +2010-01-04 Jean-Louis Martineau + * common-src/bsd-security.c, common-src/bsdtcp-security.c, + common-src/bsdudp-security.c: Check service != NULL. + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c + ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h + ndmp-src/ndmos_common.c ndmp-src/Makefile.am + ndmp-src/ndma_robot_simulator.c: add robot simulator + * ndmp-src/ndmos_glib.h: use robot simulator + * ndmp-src/scsiconst.h: fix typo + +2009-12-29 Dustin J. Mitchell + * ndmp-src/ndma_tape.c: remove ndmta_belay + * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use + NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator + +2009-12-29 Dustin J. Mitchell + * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the + scan + +2009-12-29 Dustin J. Mitchell + * perl/amglue/directtcp.swg: initialize struct in_addr by member name + +2009-12-29 Dustin J. Mitchell + * installcheck/Makefile.am: sort tests + * installcheck/=setupcache.pl: rename _setupcache so it sorts first + +2009-12-29 Dustin J. Mitchell + * perl/Amanda/Config.swg: fix return type for config_init + * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans + +2009-12-24 Charles Curley + * README: rewrite + +2009-12-23 Dustin J. Mitchell + * device-src/s3-device.c: don't set the throttling properties unless + they are nonzero + +2009-12-23 Dustin J. Mitchell + * perl/Makefile.am: only build chg-ndmp when WANT_NDMP + +2009-12-23 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: set device authentication properties + * perl/Makefile.am: actually include ndmp.pm + * perl/Amanda/Device.pod: doc extended property_get + * man/xml-source/amanda-changers.7.xml: document properties + +2009-12-23 Dustin J. Mitchell + * common-src/fileheader.c: try to generate parsable headers + * perl/Amanda/Header.swg: add default values + * server-src/amrestore.pl: fix typo + * installcheck/amrestore.pl: ndmp-device test (not using directtcp + yet) + +2009-12-23 Dustin J. Mitchell + * device-src/s3.c: recent versions of curl switched from #define + to enum, so #ifdef no longer works; test specific versions + instead + +2009-12-23 Dustin J. Mitchell + * ndmp-src/ndma_ctrl_robot.c: show error messages + +2009-12-23 Dustin J. Mitchell + * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt + +2009-12-22 Dustin J. Mitchell + * device-src/s3.c: remove debugging info + +2009-12-22 Dustin J. Mitchell + * device-src/s3.c: only including throttling code if the precompiler + symbols are present + +2009-12-22 Dustin J. Mitchell + * device-src/ndmp-device.c: fix TAPEEND handling in seek_file + * installcheck/Amanda_Device.pl: test it + +2009-12-22 Dustin J. Mitchell + * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the + source generated with rpcgen contains constructs that cause + warnings for which earlier gcc's have no -Wno-xxx option + * configure.in: revert disabled warnings + +2009-12-22 Dustin J. Mitchell + * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize + +2009-12-22 Dustin J. Mitchell + * device-src/s3.c device-src/s3.h: add max send and receive speeds + * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and + PROPERTY_MAX_RECV_SPEED + * man/xml-source/amanda-devices.7.xml: document + +2009-12-21 Dustin J. Mitchell + * ndmp-src/Makefile.am configure.in: conditionalize warnings which + are not present on all gcc version + * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c + ndmp-src/ndmjob_main_util.c: fix warnings + * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned + long long constant should end in 'ull' + +2009-12-21 Dustin J. Mitchell + * installcheck/Amanda_NDMP.pl: add auth parameter here too + +2009-12-21 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth + parameter with four options + * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it + * device-src/ndmp-device.c: add NDMP_AUTH property + * man/xml-source/amanda-devices.7.xml: doc it + * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property + * man/xml-source/amanda-changers.7.xml: doc it + +2009-12-21 Dustin J. Mitchell + * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob + * ndmp-src/*.c: fix warnings, mostly sign differences + +2009-12-21 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count + return value to ndmp_connection_tape_mtio + * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it + * installcheck/Amanda_NDMP.pl: test it + * installcheck/Makefile.am: actually run Amanda_NDMP tests + * device-src/ndmp-device.c: compatible change + +2009-12-21 Dustin J. Mitchell + * man/xml-source/amanda.8.xml: remove amdd + +2009-12-21 Dustin J. Mitchell + + * changer-src/Makefile.am changer-src/chg-rait.sh + changer-src/chg-null.sh: restore deleted files + +2009-12-21 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: update NDMP Device docs + +2009-12-21 Dustin J. Mitchell + * autogen: do not use sed --in-place + +2009-12-20 Dustin J. Mitchell + * man/xml-source/amgetconf.8.xml: fix formatting error by putting + on its own line + +2009-12-18 Dustin J. Mitchell + * installcheck/Installcheck.pm: disable log_test_output on perl-5.6 + +2009-12-18 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer + * man/xml-source/amanda-changers.7.xml: docs + * perl/Amanda/Changer.pm: better error handling + * perl/Amanda/Changer/robot.pm: changes for subclassing + +2009-12-18 Jean-Louis Martineau + * server-src/driver.c: Don't call validate_optionstr for flush dles. + +2009-12-18 Dustin J. Mitchell + * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS + * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component + * installcheck/Amanda_Device.pl: add ndmp-only tests + * installcheck/Amanda_Xfer.pl: add server-only tests + * installcheck/Amanda_Device_ndmp.pl: remove + * installcheck/Amanda_Xfer_serveronly.pl: remove + * installcheck/Makefile.am: remove files + * installcheck/taper.pl: conditionalize ndmp tests + * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda + +2009-12-18 Jean-Louis Martineau + * server-src/amtrmidx.c: Check index entry will all dles using the + same index directory. + +2009-12-17 Jean-Louis Martineau + * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm, + perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl, + Split the 'inuse' code into 'driveinuse' and 'volinuse'. + * installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_multi.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_robot.pl, + installcheck/Amanda_Changer_single.pl: + Use 'driveinuse' and 'volinuse'. + +2009-12-17 Jean-Louis Martineau + * common-src/conffile.c: etimeout must be positive. + * common-src/protocol.c: Fix possible timeout of 0. + +2009-12-17 Jean-Louis Martineau + * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file. + Add a few debugging output. + +2009-12-17 Jean-Louis Martineau + * server-src/amcheckdump.pl: Call $res->release() with a callback. + +2009-12-17 Jean-Louis Martineau + * server-src/amcheck-device.pl, server-src/amcheckdump.pl, + server-src/amrestore.pl, + server-src/amvault.pl: Call $res->set_label after $dev->read_label. + +2009-12-16 Dustin J. Mitchell + * installcheck/Amanda_Changer_robot.pl: fix installchecks + +2009-12-16 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to + subclass + +2009-12-16 Dustin J. Mitchell + * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi, + based on example/chg-multi.conf + +2009-12-15 Dustin J. Mitchell + * device-src/ndmp-device.c: use err_code, instead of err_msg, to + detect an NDMPConnection error + +2009-12-15 Dustin J. Mitchell + * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types + +2009-12-15 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove + drive if the pid is dead. + +2009-12-15 Jean-Louis Martineau + * server-src/diskfile.c: Add validate_optionstr, optionstr and + xml_optionstr no longer do validation.. + * server-src/diskfile.h: Add validate_optionstr, change prototype for + optionstr and xml_optionstr. + * server-src/amadmin.c: Add missing case. + * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c: + Use validate_optionstr, Change for new *_optionstr prototype. + * server-src/driver.c: Use validate_optionstr. + * server-src/driverio.c: Change for new *_optionstr prototype. + * installcheck/amdump.pl: Check planner error from validate_optionstr. + +2009-12-15 Dustin J. Mitchell + * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c + ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with + an error set instead of just returning an error from the constructor + * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj + * perl/Amanda/NDMP.pod: docs for same + +2009-12-15 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_* + +2009-12-15 Dustin J. Mitchell + * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care + when used in an outgoing typemap, due to stack stomping + * perl/Amanda/Archive.swg perl/Amanda/Config.swg + perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c + perl/amglue/integers.swg: exercise care as directed + +2009-12-15 Jean-Louis Martineau + * recover-src/extract_list.c: Wait to parse the header before + confirming destination directory. Unlink files only for GNUTAR + and amgtar. + * client-src/client_util.c: Parse RECOVER-PATH application support + result. + * client-src/client_util.h: Add recover_path_t. + +2009-12-14 Dustin J. Mitchell + * contrib/convert-zd-mtx-to-robot.sh: useful conversion script + * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script + * perl/Amanda/Changer/robot.pm: allow spaces between times and units + +2009-12-14 Jean-Louis Martineau + * server-src/amtape.pl: Call $res->set_label after reading a label. + +2009-12-13 Dustin J. Mitchell + * server-src/taper.pl: put header socket in blocking mode + +2009-12-11 Jean-Louis Martineau + * perl/Amanda/Process.pm: Remove unneded 'use'. + * perl/Makefile.am: Build Amanda::Process on client. + +2009-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: 'next' always set current_slot. + +2009-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: New changer. + * perl/Makefile.am: Build Amanda::Changer::multi + * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi + * installcheck/Amanda_Changer_multi.pl: installcheck for multi. + * installcheck/Makefile.am: build and test Amanda_Changer_multi. + * perl/Amanda/Util.swg: Add is_pid_alive. + * perl/Amanda/Util.pod: Document is_pid_alive. + +2009-12-11 Jean-Louis Martineau + * server-src/amstatus.pl: Use wrong indice. + * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts. + +2009-12-11 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP + * server-src/driverio.c: do not send datapath to taper + * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP + * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle + changed on-tape format + * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup + * ndmp-src/ndma_tape.c: fix typos + * NEWS: document behavior changes + +2009-12-11 Jean-Louis Martineau + * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h + server-src/driver.c server-src/driverio.c server-src/dumper.c + server-src/taper.pl: Change protocol between chunker/taper and dumper: + "PORT header_port data_host:data_port", and dumper sends the header + completely before sending the data + +2009-12-10 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c: fix uninitialized variable + +2009-12-10 Dustin J. Mitchell + * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c + device-src/Makefile.am: new class + * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document + * installcheck/Amanda_Xfer_serveronly.pl: tests + * perl/amglue/directtcp.swg: return undef for null addrs array + * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY + +2009-12-10 Dustin J. Mitchell + * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation + * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args + * installcheck/Amanda_Device_ndmp.pl: new tests + +2009-12-10 Dustin J. Mitchell + * xfer-src/element-glue.c: element-glue shouldn't complain when the + xfer's already been cancelled + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num + according to the spec (even though it's inconsistent) + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window + offset+length = G_MAXUINT64 + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to + connection + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c + ndmp-src/ndmagents.h: make mover seek to correct block number + +2009-12-09 Dustin J. Mitchell + * common-src/simpleprng.c: better error message from simpleprng on + random number mismatch + * common-src/simpleprng.h: simpleprng_state_t is now a real struct + * xfer-src/dest-null.c: no need to give buffer offset anymore + +2009-12-08 Jean-Louis Martineau + * recover-src/extract_list.c: Fix for GNUTAR/DUMP. + * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for + reading from a holding disk. + +2009-12-08 Jean-Louis Martineau + * device-src/device.c, device-src/device.h: + Add device_unaliassed_name function. + * perl/Amanda/Device.swg: Add unaliassed_name function. + +2009-12-07 Jean-Louis Martineau + * restore-src/restore.c: Fix read_to_connection argument. + +2009-12-07 Dustin J. Mitchell + * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove + unnecessary include + +2009-12-07 Dustin J. Mitchell + * common-src/directtcp.h: mention IP byte order + * perl/amglue/directtcp.swg device-src/device.c device-src/device.h + perl/Amanda/Device.swg: use guint64 instead of gsize for read/write + lengths; directtcp_supported is a boolean class attribute instead of a + method; listen takes a for_writing argument; SWIG directtcp methods + * perl/Amanda/Device.pod: document LEOM handling, new methods + * device-src/directtcp-connection.c: call parent's finalize + * restore-src/restore.c: pass correct for_writing to listen + +2009-12-07 Dustin J. Mitchell + * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe + * ndmp-src/ndmagents.h: expand drive_name to 256 bytes + +2009-12-07 Dustin J. Mitchell + * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: + new class to encapsulate all of the NDMP transactions without + requiring weird precompiler macros + +2009-12-07 Dustin J. Mitchell + * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code + triggered by long filenames in buildbots + +2009-12-07 Dustin J. Mitchell + * xfer-src/element-glue.c: one more uninitialized variable + +2009-12-07 Jean-Louis Martineau + * device-src/device.h, device-src/device.c, + man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod + perl/Amanda/Device.swg: Add an eject method to the device-api. + * device-src/tape-device.c, device-src/tape-ops.h, + device-src/tape-posix.c, device-src/tape-uware.c, + device-src/tape-aix.c, + device-src/tape-xenix.c: Implement eject method. + * perl/Amanda/Changer/robot.pm: Use new eject method. + +2009-12-07 Dustin J. Mitchell + * device-src/dvdrw-device.c: fix uninitialized variable, don't use + G_DEFINE_DEVICE + +2009-12-07 Dustin J. Mitchell + * xfer-src/element-glue.c: fix uninitialized use of variable + +2009-12-07 Dustin J. Mitchell + * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for + XFER_MECH_DIRECTTCP_LISTEN (source reorganized) + * xfer-src/xfer-test.c: tests for same + * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod + perl/Amanda/Xfer.swg: new class + * xfer-src/source-directtcp-listen.c: bugfix + * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c + xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks + * common-src/testutils.c: support for leak-checking + * xfer-src/dest-buffer.c xfer-src/dest-null.c + server-src/xfer-source-holding.c device-src/xfer-dest-device.c + device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c + device-src/xfer-source-taper.c: use revised error-handling + * perl/amglue/source.c: fix refcount problem + * xfer-src/Makefile.am: new files + +2009-12-07 Dustin J. Mitchell + * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm + installcheck/Makefile.am: new mock changer for ndmjob + * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h + ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and + PEOM) support to the tape simulator + +2009-12-07 Sam Couter + * AUTHORS: add Sam to AUTHORS + * device-src/device.c device-src/Makefile.am + device-src/dvdrw-device.c: new dvd-rw device + * configure.in config/amanda/dvdrw-device.m4: config + for it + * device-src/vfs-device.c device-src/vfs-device.h: enable + subclassing of VFS device + * man/xml-source/amanda-devices.7.xml: documentation + * server-src/amcheck-device.pl: add usage() sub + +2009-12-07 Sam Couter + * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree + builds work + +2009-12-07 Jean-Louis Martineau + * client-src/calcsize.c: fix check_running_as. + +2009-12-06 Dustin J. Mitchell + * client-src/client_util.c: revert previous change + +2009-12-05 Sam Couter + * client-src/client_util.c: Free correct memory + +2009-12-05 Dustin J. Mitchell + * config/automake/scripts.am: remove unnecessary -T + * perl/Amanda/BigIntCompat.pm: remove unused $stringify + +2009-12-04 Jean-Louis Martineau + * server-src/amcheck.c: Give error if pre-host-backup or + post-host-backup are executed on client. + * man/xml-source/amanda.conf.5.xml: Document it. + +2009-12-03 Paul C. Mantz + * server-src/tapefile.c server-src/tapefile.h + perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl: + added and swigged get_last_reusable_tape_label(). + +2009-12-02 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse + error. + +2009-12-02 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error. + +2009-12-01 Jean-Louis Martineau + * perl/Amanda/Device.swg: #include "glib-util.h". + +2009-12-01 Jean-Louis Martineau + * common-src/conffile.c: Fix conf_init_data_path argument type. + * common-src/debug.c: Use gpointer. + * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c: + #include "util.h" for set_pname prototype. + * ndmp-src/ndma_cops_backreco.c: Add prototype. + * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c: + Rename version_info to ndmjob_version_info to avoid conflict. + +2009-12-01 Jean-Louis Martineau + * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api. + * installcheck/Amanda_Logfile.pl: Fix for perl-5.6. + * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6. + +2009-12-01 Jean-Louis Martineau + * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c + +2009-12-01 Jean-Louis Martineau + * server-src/find.c: Fix for older log entry. + * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t. + * perl/Amanda/Logfile.pod: Add totalparts. + * installcheck/Amanda_Logfile.pl: Fix for new totalparts in + find_result_t. + +2009-12-01 Jean-Louis Martineau + * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable. + +2009-12-01 Jean-Louis Martineau + * perl/Amanda/Changer/single.pm: Use except_slot, + It is not fast searchable. + +2009-12-01 Jean-Louis Martineau + * server-src/find.h: Keep partnum and totalparts as int. + * server-src/find.c: Compute totalparts if -1. + * perl/Amanda/Logfile.swg: Change api. + * restore-src/amfetchdump.c, restore-src/restore.c, + server-src/amcheckdump.pl, server-src/amindexd.c: Use new api. + +2009-12-01 Jean-Louis Martineau + * ndmp-src/Makefile.am: Build ndmjob with original tape simulator. + Build amndmjob with modifier tape simulator. + * ndmp-src/amndma_tape_simulator.c: The modified tape simulator. + * ndmp-src/amndmjob_main.c: Main amndmjob program. + * ndmp-src/ndma_tape_simulator.c: The original tape simulator. + +2009-11-27 Jean-Louis Martineau + * server-src/amstatus.pl: Small fix. + +2009-11-27 Jean-Louis Martineau + * server-src/taper.pl: Fix quote_string use. + +2009-11-27 Jean-Louis Martineau + * server-src/amstatus.pl: Display % done on port-write. + * device-src/xfer-device.h: New get_part_bytes_written method in + XferDestTaperClass. + * device-src/xfer-dest-taper.c: new + xfer_dest_taper_get_part_bytes_written function. + * device-src/xfer-dest-taper-splitter.c: New + get_part_bytes_written_impl function. + * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method. + * perl/Amanda/XferServer.swg: swig + xfer_dest_taper_get_part_bytes_written. + * server-src/taper.pl: Update status file every 5 seconds. + * perl/Amanda/Xfer.pod: Document get_part_bytes_written. + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Holding.pl: add one more unary + + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_IPC_LineProtocol.pl: use , instead + of => when the left-hand-side shouldn't be quoted + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Config.pl installcheck/taper.pl + perl/Amanda/Config.swg server-src/amrestore.pl + server-src/taper.pl: handle older perls' bad conversions + from BigInt to integers or strings + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Holding.pl installcheck/amrestore.pl: + use unary + before the arguments to sort, since perl-5.6's + parser gets confused otherwise + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors + to strings, since older perls' Test::More::is_deeply do not + handle this well + +2009-11-27 Dustin J. Mitchell + * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks + from the constructor, since => quotes its left-hand side + * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message + callbacks + +2009-11-27 Dustin J. Mitchell + * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path + expects the path to point to a directory, not a file + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm + perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use + constant with a hash of constants. + +2009-11-26 Jean-Louis Martineau + * application-src/*.pl: Remove $action from all function arguments. + * installcheck/pp-scripts.pl: Fix for new output of amlog-script. + * perl/Amanda/Application/Zfs.pm: Remove $action from all function + arguments. + * perl/Amanda/Script_App.pm: Set $self->{action}. + +2009-11-25 Jean-Louis Martineau + * restore-src/restore.c: Always do data_path exchange. + +2009-11-25 Dustin J. Mitchell + * client-src/calcsize.c: fix check_running_as + +2009-11-25 Jean-Louis Martineau + Patch by Dustin J. Mitchell + * server-src/amcheckdump.pl: Fix hang in MainLoop. + +2009-11-24 Jean-Louis Martineau + * server-src/amindexd.c: Reduce logging. + +2009-11-23 Jean-Louis Martineau + * perl/amglue/amglue.swg: Remove %begin section, we don't want to + require swig 1.3.39. + +2009-11-23 Jean-Louis Martineau + * device-src/s3-device.c: First include "amanda.h". + * perl/Amanda/Cmdline.swg: include "amanda.h". + * perl/amglue/amglue.h: include "../config/config.h" + * perl/amglue/amglue.swg: %begin include ../config/config.h" + +2009-11-20 Jean-Louis Martineau + * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello. + +2009-11-20 Dustin J. Mitchell + * common-src/stream.c common-src/util.c: use g_debug instead + of dbprintf + +2009-11-20 Jean-Louis Martineau + * Revert to previous gnulib, keep fseeko, ftello. + +2009-11-20 Dustin J. Mitchell + * ndmp-src/ndmjob_args.c: add "-o test-daemon" + * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon + when stdin closes + * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype + * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to + automatically kill the daemon when the test finishes + +2009-11-19 Jean-Louis Martineau + * common-src/amanda.h: Remove define of _LARGE_FILES. + * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES. + +2009-11-19 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for + callback_sv, and hang onto the src through the callback invocation + +2009-11-19 Jean-Louis Martineau + * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp + +2009-11-19 Jean-Louis Martineau + * gnulib/*, config/gnulib/*: Update gnulib + Use getopt-gnu instead of getopt + Add fseeko and ftello + Remove visibility + +2009-11-19 Dustin J. Mitchell + * config/amanda/progs.m4: require swig-1.3.32, as previous versions + don't handle empty C strings correctly + +2009-11-13 Dustin J. Mitchell + * perl/Amanda/Device.pod perl/Amanda/Device.swg + device-src/device.c device-src/device.h: add is_eom + * device-src/rait-device.c + device-src/s3-device.c device-src/tape-device.c + device-src/vfs-device.c device-src/null-device.c: set is_eom + and is_eof correctl + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h: + add an eom attribute to XMsgs + * device-src/xfer-dest-taper-splitter.c: set the attribute + * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success + +2009-11-19 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: Print restore + and validate command with debug_executing. + * common-src/util.c: New debug_executing function. + * common-src/util.h: New debug_executing prototype. + +2009-11-18 Jean-Louis Martineau + * restore-src/amfetchdump.c: Small memory leak. + * restore-src/restore.c, restore-src/restore.h: Many change to fix + what was broken in previous patch. + +2009-11-18 Jean-Louis Martineau + * application-src/amgtar.c, + application-src/amstar.c: Fix if none of --disk or --device is set. + +2009-11-18 Jean-Louis Martineau + * server-src/tapefile.c: Fix if list_new_tapes return NULL. + +2009-11-18 Jean-Louis Martineau + * server-src/amcheck.c, server-src/driver.c, + server-src/planner.c: Do sanity check for DIRECT-TCP data-path. + +2009-11-18 Jean-Louis Martineau + * application-src/amgtar.c, application-src/ampgsql.pl, + * application-src/amraw.pl, application-src/amsamba.pl, + * application-src/amstar.c, application-src/amsuntar.pl, + * application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl: + They can get either --disk or --device or both. + +2009-11-18 Jean-Louis Martineau + * server-src/tapefile.c: New list_new_tapes function. + * server-src/tapefile.h: Prototype for list_new_tapes function. + * perl/Amanda/Tapelist.swg: swig of list_new_tapes. + +2009-11-18 Jean-Louis Martineau + * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c, + ndmp-src/ndmjob_main_util.c: Use g_debug for logging. + +2009-11-18 Dustin J. Mitchell + * device-src/directtcp-target.c + device-src/directtcp-target.h: Removed files. + * device-src/device.c, + device-src/device.h: New device directtcp api. + * device-src/directtcp-connection.c, + device-src/directtcp-connection.h: directtcp_connection and + directtcp_connection_socket object. + * device-src/Makefile.am: Remove directtcp-target.* + Add directtcp-connection.* + * restore-src/restore.c, + restore-src/restore.h: Fix for new device directtcp api. + +2009-11-18 Jean-Louis Martineau + * server-src/chunker.c: Fix checking result of full_write. + +2009-11-18 Jean-Louis Martineau + * server-src/dumper.c, + common-src/security-util.c: Correctly report write error. + +2009-11-13 Dan Locks + * packaging/deb/control: update to use shlibs:Depends and + perl:Depends + * packaging/deb/rules: tweak build dirs for clarity, update shlibs + invocation, remove unneeded debhelper commands. + * packaging/deb/amanda-backup-server.substvars, + packaging/deb/amanda-backup-client.substvars: delete. These files + are generated at build time + +2009-11-13 Dan Locks + * packaging/deb/buildpkg: delete unused functions, detect and add + distro/release tag to version number changelog prior to build + +2009-11-12 Jean-Louis Martineau + * recover-src/extract_list.c: Enable DATA-PATH. + * restore-src/restore.c: Enable DATA-PATH. + * restore-src/restore.h: Enable DATA-PATH. + * common-src/amfeatures.c: Add fe_amidxtaped_datapath. + * common-src/amfeatures.h: Add fe_amidxtaped_datapath + * common-src/conffile.c: Improve error message. + * device-src/directtcp-target.h: Improve comment. + +2009-11-12 Jean-Louis Martineau + * client-src/client_util.c, common-src/util.c, + server-src/changer.c: Fix memory leak. + +2009-11-11 Jean-Louis Martineau + * ndmp-src/ndma_tape.c: Fix crash. + +2009-11-09 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts + in the header are set by the caller + * server-src/taper.pl: set them + * installcheck/taper.pl: test that on-device headers are correct + +2009-11-09 Jean-Louis Martineau + * restore-src/restore.c: Handle directtcp device. + * restore-src/restore.h: Handle directtcp device. + * device-src/directtcp-target.h (read_to_connection): Fix comment. + +2009-11-09 Jean-Louis Martineau + * device-src/directtcp-target.c (directtcp_target_listen, + directtcp_target_accept): don't assert for !self->in_file or + self->access_mode == ACCESS_NULL. + +2009-11-06 Dustin J. Mitchell + * AUTHORS: add Ben Slusky + * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change + to UMD license, with Ben's permission + 2009-11-05 Jean-Louis Martineau - * client-src/sendbackup-dump.c, client-src/sendsize.c, - client-src/selfcheck.c: + * client-src/sendbackup-dump.c, client-src/sendsize.c: Fix compiler error if VXDUMP or VDUMP is defined. 2009-11-05 Jean-Louis Martineau * client-src/client_util.c: close FILE instead of fd. * client-src/selfcheck.c: fix fd leak with app_stderr. +2009-11-05 Jean-Louis Martineau + * client-src/client_util.c (merge_property, merge_properties): + New functions. + * client-src/client_util.h: New prototypes. + * common-src/conffile.c (amandaify_property_name): New function. + * common-src/conffile.h (amandaify_property_name): New prototypes. + * recover-src/extract_list.c: Call merge_properties, it merge property + from amanda header with property set in amrecover. + Report the directory property if set. + * recover-src/set_commands.c: Call amandaify_property_name. + +2009-11-03 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait + to be un-paused before starting to cache a part + * xfer-src/dest-null.c: add additional debugging info + +2009-11-03 Dustin J. Mitchell + * device-src/Makefile.am device-src/directtcp-target.c + device-src/directtcp-target.h: add new DirectTCPTarget interface, for + use by devices supporting DirectTCP + +2009-11-03 Paul C. Mantz + * perl/Amanda/Report.pm: added state flags + * instalcheck/Amanda_Report.pl: tests + +2009-11-02 Dustin J. Mitchell + * common-src/testutils.c: fix uninitialized variable, only run one + test in non-fork mode + +2009-11-02 Dustin J. Mitchell + + * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take + 'first_device' and calculate slab size immediately instead of waiting + for start_part + * device-src/xfer-device.h: first_device parameter + * perl/Amanda/XferServer.swg: swig + * perl/Amanda/Xfer.pod: docs + * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly + * perl/Amanda/Taper/Scribe.pm: send first_device properly + +2009-10-30 Satya Ganga + * application-src/amsuntar.pl: Validate include and exclude lists + before using them at restore time. + +2009-10-30 Dustin J. Mitchell + * common-src/testutils.c: do not fork if -n is given (aids debugging) + +2009-10-29 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: add barcodes to reservations + * perl/Amanda/Changer.pm: document + * installcheck/Amanda_Changer_robot.pl: test + +2009-10-29 Dustin J. Mitchell + * ndmp-src/ndml_log.c: use static to eliminate unnecessary global + +2009-10-29 Satya Ganga + * application-src/amgtar.c,application-src/amstar.c: Correct validation + of directory property for existence and access. + +2009-10-29 Satya Ganga + * application-src/amsamba.pl: In command line use correct + application property names + 2009-10-29 Jean-Louis Martineau * client-src/sendsize.c: Fix error reporting. -2009-10-27 Jean-Louis Martineau - * packaging/deb/rules, packaging/deb/buildpkg, - packaging/rpm/buildpkg, - packaging/rpm/amanda.spec: Change version to 2.6.1p2. - * NEWS: Add news for 2.6.1p2. - * configure.in: Change version to 2.6.1p2. +2009-10-29 Satya Ganga + * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific + environment for NDMP + +2009-10-28 Jean-Louis Martineau + * common-src/conffile.c (free_property_t): not static. + * common-src/conffile.h (free_property_t): not static. + * recover-src/amrecover.c, recover-src/amrecover.h, + recover-src/help.c, recover-src/set_commands.c, + recover-src/uparse.y, + recover-src/uscan.l: New setproperty and listproperty commands. + * man/xml-source/amrecover.8.xml: Document setproperty and + listproperty commands. 2009-10-27 Jean-Louis Martineau * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name. +2009-10-27 Dustin J. Mitchell + * common-src/Makefile.am common-src/directtcp.h: new file to + handle common directtcp-related code + * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for + DirectTCPAddr + * xfer-src/Makefile.am + xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN + * xfer-src/source-directtcp-listen.c: new source element + implementing it + * xfer-src/element-glue.c: stubs - no glue yet for the new mech + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg + perl/Makefile.am: SWIG new element + +2009-10-27 Jean-Louis Martineau + * client-src/client_util.c: Add data-path and directtcp argument to + application + * client-src/selfcheck.c: Check application support the requested + data-path + * client-src/sendsize.c: Check application support the requested + data-path + * common-src/amfeatures.h: Add fe_xml_data_path and + fe_xml_directtcp_list. + * common-src/amfeatures.c: Add fe_xml_data_path and + fe_xml_directtcp_list. + * common-src/amxml.c: Parse and tag. + * common-src/amxml.h (dle_t): Add data_path and directtcp_list. + * server-src/amcheck.c: Check client accpet datapath and directtcp tag + in xml. + * server-src/diskfile.c: Add datapath and directtcp tag + * server-src/diskfile.h (disk_t): Add directtcp_list. + * server-src/driver.c: Set dp->directtcp_list. + +2009-10-27 Jean-Louis Martineau + * application-src/amgtar.c, application-src/ampgsql.pl, + application-src/amraw.pl, application-src/amsamba.pl, + application-src/amstar.c, application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl: Handle directory, include-list + and exclude-list inrestore command. + * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.8.xml, + man/xml-source/amraw.8.xml, man/xml-source/amsamba.8.xml, + man/xml-source/amstar.8.xml, + man/xml-source/amsuntar.8.xml: Document them. + * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory. + 2009-10-23 Jean-Louis Martineau - * device-src/tape-device.c: handle EROFS in open. + * client-src/client_util.c (backup_support_option): Parse DATA-PATH. + * client-src/client_util.h (backup_support_option_t): Add data_path_set + * common-src/conffile.h: (data_path_t): Change for bit value. + +2009-10-22 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is + now always called with the slab_mutex held; both invocations of + the function guarantee this. + +2009-10-22 Dustin J. Mitchell + * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost + * installcheck/Installcheck.pm: close SOCK after using it + * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid() + +2009-10-22 Jean-Louis Martineau + * perl/Amanda/Config.swg: Swig data_path_from_string. + * server-src/diskfile.c: Add dirrecti-tcp property to application. + * server-src/diskfile.h (disk_s): Add directtcp. + * server-src/driver.c: handle DIRECTTCP_PORT reply form taper. + * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT". + * server-src/server_util.h: Add DIRECTTCP_PORT. + * server-src/taper.pl: Reply with DIRECTTCP-PORT. + +2009-10-22 Jean-Louis Martineau + * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob. + +2009-10-21 Jean-Louis Martineau + * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS. + * common-src/conffile.c: Add DATA-PATH config. + * common-src/conffile.h: Add DATA-PATH config. + * installcheck/taper.pl: Add AMANDA data-path. + * perl/Amanda/Config.swg: Add DATA-PATH config. + * server-src/amadmin.c (disklist_one): print data-path. + * server-src/diskfile.c: Add dp argument to xml_application. + * server-src/diskfile.h: New prototype for xml_application. + * server-src/amcheck.c: Use new xml_application. + * server-src/amindexd.c: Use new xml_application. + * server-src/driverio.c: Send data-path to the dumper and taper, + Use new xml_application. + * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH. + * server-src/planner.c: Use new xml_application. + * server-src/taper.pl: Parse data-path in PORT-WRITE command. + +2009-10-21 Jean-Louis Martineau + * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c, + ndmp-src/ndmagents.h, ndmp-src/ndmjob.h, + ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c: + Add '-o tape-tcp=HOST:PORT' option. + +2009-10-21 Dustin J. Mitchell + * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c + ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h + ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h + common-src/Makefile.am: remove ndmp-proxy.* + * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg + common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port + * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test + * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove + module + +2009-10-21 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: get a device before starting + the xfer + +2009-10-21 Jean-Louis Martineau + * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order. + +2009-10-21 Dustin J. Mitchell + * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and + libndmlib.la + * ndmp-src/ndml_conn.c: remove calls to libndmjob function + * device-src/Makefile.am: compile without strict prototypes + * device-src/ndmp-device.c: build against libndmlib, speaking + NDMP natively to the NDMP server instead of via the proxy + * installcheck/Amanda_Device_ndmp.pl: no need for a proxy + +2009-10-21 Dustin J. Mitchell + * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c + device-src/xfer-dest-taper.c device-src/xfer-device.h: make + XferDestTaper an abstract base class, with XferDestTaperSplitter its + only subclass (for now) + * perl/Amanda/Xfer.swg: SWIG it + * perl/Amanda/XferServer.swg: SWIG it + * installcheck/Amanda_Xfer_serveronly.pl: adjust tests + * perl/Amanda/Taper/Scribe.pm: use subclass + +2009-10-20 Jean-Louis Martineau + * installcheck/Installcheck.pm: $0 in double quote "$0". + +2009-10-20 Jean-Louis Martineau + * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call. + * installcheck/Amanda_Logfile.pl: Fix for changed name in log. + * installcheck/Installcheck.pm: Call set_pname($0) in INIT section. + * installcheck/amadmin.pl: Remove set_pname call. + +2009-10-20 Paul C. Mantz + * server-src/amrmtape.pl: added config override option + * installcheck/amrmtape.pl: regression test + +2009-10-20 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: add detailed debugging + * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging + * perl/Amanda/Taper/Scribe.pm: pass debugging flags around + * server-src/taper.pl: pass debugging flags around + +2009-10-20 Dustin J. Mitchell + * xfer-src/dest-buffer.c: fix Solaris cc compile errors + +2009-10-20 Dustin J. Mitchell + * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c: + new element + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it + * installcheck/Amanda_Xfer.pl: tests + * xfer-src/source-pattern.c: fix typo + +2009-10-19 Paul C. Mantz + * perl/Amanda/Report.pm: error handling for logfile reading. + * perl/Amanda/Logfile.pod: documentation of open_logfile error + behavior + +2009-10-19 Jean-Louis Martineau + * installcheck/Makefile.am (full_tests): Add amadmin. + * installcheck/amadmin.pl: Check diskname matching argument. + +2009-10-19 Jean-Louis Martineau + * common-src/match.c: Fix match_word function. + +2009-10-16 Dan Locks + * example/xinetd.amandaclient.in, example/xinetd.amandaserver.in: + replace IPv6 with IPv4 + +2009-10-16 Nikolas Coukouma + * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c, + application-src/amlog-script.pl, application-src/ampgsql.pl, + application-src/amraw.pl, application-src/amsamba.pl, + application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl, + application-src/amzfs-snapshot.pl, application-src/script-email.pl, + changer-src/chg-glue.pl, common-src/amaespipe.sh, + common-src/amcryptsimple.pl, common-src/amgetconf.pl, + common-src/amgpgcrypt.pl, common-src/event-test.c, + common-src/glib-util.c, common-src/glib-util.h, + common-src/hexencode-test.c, common-src/ipc-binary.c, + common-src/ipc-binary.h, common-src/queueing-test.c, + common-src/queueing.c, common-src/queueing.h, + common-src/quoting-test.c, common-src/semaphore-test.c, + common-src/semaphore.c, common-src/semaphore.h, + common-src/simpleprng.c, common-src/simpleprng.h, + common-src/sockaddr-util.c, common-src/sockaddr-util.h, + common-src/testutils.c, common-src/testutils.h, + config/automake/scripts.am, config/automake/vars.am, + config/macro-archive/docbook-dtd.m4, + config/macro-archive/docbook-xslt-min.m4, + config/macro-archive/docbook-xslt.m4, + config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl, + device-src/amtapetype.pl, device-src/device-queueing.c, + device-src/device-queueing.h, device-src/device.c, + device-src/device.h, device-src/ndmp-device.c, + device-src/null-device.c, device-src/property.c, + device-src/property.h, device-src/rait-device.c, + device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h, + device-src/s3.c, device-src/s3.h, device-src/tape-aix.c, + device-src/tape-device.c, device-src/tape-device.h, + device-src/tape-ops.h, device-src/tape-posix.c, + device-src/tape-uware.c, device-src/tape-xenix.c, + device-src/vfs-device.c, device-src/vfs-test.c, + device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c, + device-src/xfer-device.h, device-src/xfer-source-device.c, + device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl, + installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_robot.pl, + installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl, + installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl, + installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl, + installcheck/Amanda_IPC_Binary.pl, + installcheck/Amanda_IPC_LineProtocol.pl, + installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl, + installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl, + installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl, + installcheck/Amanda_Taper_Scan.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl, + installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl, + installcheck/Installcheck.pm, + installcheck/Installcheck/Application.pm, + installcheck/Installcheck/Changer.pm, + installcheck/Installcheck/Config.pm, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm, + installcheck/_setupcache.pl, installcheck/amarchiver.pl, + installcheck/amcheck-device.pl, installcheck/amcheck.pl, + installcheck/amcheckdump.pl, installcheck/amdevcheck.pl, + installcheck/amdump.pl, installcheck/amfetchdump.pl, + installcheck/amgetconf.pl, installcheck/amgtar.pl, + installcheck/amlabel.pl, installcheck/ampgsql.pl, + installcheck/amraw.pl, installcheck/amreport.pl, + installcheck/amrestore.pl, installcheck/amrmtape.pl, + installcheck/amservice.pl, installcheck/amstatus.pl, + installcheck/amtape.pl, installcheck/amtapetype.pl, + installcheck/bigint.pl, installcheck/mock/mtx.pl, + installcheck/mock_mtx.pl, installcheck/pp-scripts.pl, + installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c, + packaging/rpm/amanda.spec, perl/Amanda/Application.pod, + perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm, + perl/Amanda/Archive.pod, perl/Amanda/Archive.swg, + perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm, + perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg, + perl/Amanda/Config.pod, perl/Amanda/Config.swg, + perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod, + perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg, + perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg, + perl/Amanda/Header.pod, perl/Amanda/Header.swg, + perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod, + perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm, + perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg, + perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg, + perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in, + perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod, + perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm, + perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm, + perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod, + perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg, + perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg, + perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c, + perl/amglue/constants.swg, perl/amglue/dumpspecs.swg, + perl/amglue/exports.swg, perl/amglue/filehandles.swg, + perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg, + perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c, + perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl, + server-src/amcheck-device.pl, server-src/amcheckdump.pl, + server-src/amcleanup.pl, server-src/amlabel.pl, + server-src/amrestore.pl, server-src/amrmtape.pl, + server-src/amserverconfig.pl, server-src/amtape.pl, + server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h, + server-src/taper.pl, server-src/xfer-server.h, + server-src/xfer-source-holding.c, xfer-src/amxfer.h, + xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c, + xfer-src/element-glue.h, xfer-src/filter-process.c, + xfer-src/filter-xor.c, xfer-src/source-fd.c, + xfer-src/source-pattern.c, xfer-src/source-random.c, + xfer-src/xfer-element.c, xfer-src/xfer-element.h, + xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h, + xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers + +2009-10-16 Dustin J. Mitchell + * common-src/hexencode-test.c: avoid compiler warnings and a potential + crash on test failure + +2009-10-16 Jean-Louis Martineau + * application-src/amsamba.pl: fix restore. + +2009-10-15 Nikolas Coukouma + * application-src/ampgsql.pl, common-src/Makefile.am, + common-src/hexencode-test.c, common-src/util.c, common-src/util.h, + installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg, + perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am, + perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding + and decoding functions into C. SWIG, document, and test them. Also add + exception-generating typemap for GErrors. + +2009-10-14 Nikolas Coukouma + * perl/Amanda/Changer.pm: forgot to import function + +2009-10-14 Jean-Louis Martineau + Dustin J. Mitchell + * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command. + * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command. + * device-src/ndmp-device.c: Keep track if a device is openned, don't + close the connection to the proxy in ndmp_device_finish(). + * installcheck/Amanda_Device_ndmp.pl: More check. + * installcheck/Installcheck/Mock.pm: tapefile based on pid number. + * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP. + * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP. + +2009-10-13 Nikolas Coukouma + * perl/Amanda/Config.pod, perl/Amanda/Config.swg, + installcheck/Amanda_Config.pl: SWIG string_to_boolean, document, + and test it + * application-src/ampgsql.pl, perl/Amanda/Changer.pm: + use string_to_boolean + * perl/Amanda/MainLoop.pod: correct spelling + +2009-10-09 Jean-Louis Martineau + Revert previous patch. + +2009-10-09 Jean-Louis Martineau + * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40. + * common-src/conffile.c: Add data_path + * common-src/conffile.h: Add data-path + * common-src/ndmp-proxy.c: Improve. + * common-src/ndmp-proxy.h: Improve. + * device-src/device.c (device_start_dump, device_finish_dump + device_write_from_data_path) New method. + * device-src/device.h (device_start_dump, device_finish_dump + device_write_from_data_path) New method. + * device-src/ndmp-device.c: Improve + * device-src/xfer-dest-taper.c: data-path + * device-src/xfer-device.h: data-path + * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files. + * ndmp-src/ndma_comm_proxy.c: Improve. + * ndmp-src/ndma_comm_session.c: #include "ndmjob.h" + * ndmp-src/ndmjob_main.c: Open debug file. + * ndmp-src/ndml_log.c: Check for deliver.. + * perl/Amanda/Config.swg: Add data-path + * perl/Amanda/Device.swg: Add new device api + * perl/Amanda/Taper/Scribe.pm: data-path + * perl/Amanda/XferServer.swg: data-path + * server-src/amadmin.c: print data-path + * server-src/amcheck.c: data-path and xml_application change + * server-src/amindexd.c: xml_application change + * server-src/diskfile.c: new xml_application + * server-src/diskfile.h: xml_application prototype change. + * server-src/driver.c: data-path + * server-src/driverio.c: data-path + * server-src/driverio.h (taper_device): new global variable. + * server-src/dumper.c: data-path + * server-src/planner.c: xml_application change + * server-src/taper.pl: data-path 2009-10-08 Dustin J. Mitchell - * device-src/tape-device.h: add missing field + * perl/Amanda/IPC/Binary.pod: finish docs -2009-10-07 Dan Locks - * packaging/deb/control: add |gnuplot-nox +2009-10-08 Dustin J. Mitchell + * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes + * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to + ipc-binary + * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks + * perl/Amanda/IPC/Binary.pod: stub documentation + * perl/Amanda/IPC/LineProtocol.pm: whitespace + +2009-10-08 Dustin J. Mitchell + * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c + ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma + + +2009-10-08 Dustin J. Mitchell + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and + pass parameters + * device-src/ndmp-device.c: bugfixes; open and close the conneciton + for each service request, to avoid deadlocking the proxy + * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the + ndmjob tape simulator + * installcheck/Installcheck/Mock.pm: add run_ndmjob + * installcheck/Makefile.am: new checks + * ndmp-src/ndma_comm_proxy.c: formulate the agent string better + * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port + * ndmp-src/ndmjob.h: p_port + * ndmp-src/ndmjob_args.c: add -p PORT + * ndmp-src/ndmjob_main.c: use -p PORT + * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming + connection -2009-10-07 Dustin J. Mitchell - * man/xml-source/amanda-devices.7.xml: add NONBLOCKING_OPEN property - * config/amanda/tape.m4: use DEFAULT_TAPE_NON_BLOCKING_OPEN by default - on Linux - * device-src/tape-device.c device-src/tape-device.h: conditionalize - the use of a nonblocking open +2009-10-07 Dan Locks + * packaging/deb/control: add mailx|bsd-mailx (also missing + |gnuplot-nox) 2009-10-07 Jean-Louis Martineau * server-src/diskfile.c: Fix initialization of xml_app.result. +2009-10-06 Dustin J. Mitchell + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + remove ndmp-proxy-log-file and ndmp-proxy-debug-level + * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port + * common-src/ipc-binary.h: don't recommend static allocation + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on + demand; it will shut down when all of the connections are closed + * installcheck/Amanda_NDMP.pl: check Amanda::NDMP + * installcheck/Installcheck.pm: add get_unused_port() + * installcheck/Makefile.am: new check + * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c + ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h + ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c + ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP + proxy into a different executable, and reference count the connections + to it + * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface + * perl/Amanda/NDMP.pod: add POD + * server-src/amlabel.pl server-src/amcheck-device.pl: remove + ndmp_stop_proxy() + +2009-10-06 Paul C. Mantz + * perl/Amanda/Reporter.pm: added log handling of amdump and + amflush + * installcheck/Amanda_Report.pl: regression tests + +2009-10-06 Jean-Louis Martineau + * installcheck/amraw.pl: Use File::Path::mkpath. + +2009-10-05 Jean-Louis Martineau + * application-src/Makefile.am (SCRIPTS_PERL): Add amraw. + * application-src/amraw.pl: New application. + * installcheck/Makefile.am (client_tests): Add amraw. + * installcheck/amraw.pl: Check amraw functionnality. + * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8. + * man/xml-source/amanda-applications.7.xml: Add amraw.8. + * man/xml-source/amanda.8.xml: Add amraw.8. + * man/xml-source/amraw.8.xml: New man page for amraw application. + * perl/Amanda/Constants.pm.in: Add DD. + +2009-10-05 Paul C. Mantz + * server-src/reporter.c: exit code 0 with no output format + specified, fixed default output destination + +2009-10-02 Jean-Louis Martineau + * common-src/debug.c (msg_timestamp): Print time in human readable + format. + +2009-10-01 Dustin J. Mitchell + * device-src/ndmp-device.c: remove some includes, remove recycle and + erase, streaming desired, close the tape service on finish(), rewind + less, and be more careful about setting errors exactly once + * man/xml-source/amanda-devices.7.xml: document the device + +2009-10-01 Paul C. Mantz + * server-src/reporter.c: no report made unless destination + argument given + +2009-10-01 Jean-Louis Martineau + * application-src/amgtar.c (build_re_table, add_type_table, + add_list_table): Remove function. + * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties. + * client-src/client_util.c (build_re_table, add_type_table, + add_list_table): Add function. + * client-src/client_util.h (build_re_table, add_type_table, + add_list_table): Add prototype. + * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE): + Add declaration. + * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE): + Remove declaration. + * client-src/sendsize.c: Rename 'struct regex_s' to + 'struct regex_scale_s'. + * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE + properties. + +2009-10-01 Jean-Louis Martineau + * common-src/security-util.c (bsd_prefix_packet): Use geteuid login + name. + +2009-10-01 Jean-Louis Martineau + * application-src/amgtar.c: Add --no-wildcards argument to gtar extract + command. + * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1. + +2009-09-30 Dustin J. Mitchell + * server-src/dumper.c: runs setuid root + * common-src/local-security.c: drop root privs + * common-src/rsh-security.c: drop root privs + * common-src/ssh-security.c: drop root privs + +2009-09-29 Dustin J. Mitchell + * amandad-src/amandad.h common-src/amanda.h: move constants + to amanda.h + * common-src/util.c common-src/util.h: add openbsd_fd_inform, to + inform the OpenBSD pthread library about high-numbered fd's created + by amandad + * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c + client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c: + use openbsd_fd_infom + +2009-09-28 Dustin J. Mitchell + * common-src/util.h: fix comment + * server-src/planner.c: planner runs setuid, so tell check_running_as + +2009-09-28 Nikolas Coukouma + * device-src/s3.c: fix day of the week in Date header + +2009-09-25 Dustin J. Mitchell + * common-src/amflock.c: set the return value + * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering + * perl/Amanda/Changer.pm: check for locking errors in Changer.pm + * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and + handle configurations where no tape device is specified better + * server-src/amtape.pl: handle the case where loaded_in == 0 + +2009-09-25 Nikolas Coukouma + * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP + +2009-09-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: fix typo + +2009-09-24 Paul C. Mantz + * perl/Amanda/Report.pm: added accessor functions + * installcheck/Amanda_Report.pl: tests + +2009-09-24 Dustin J. Mitchell + * device-src/property.c: remove old property instance + +2009-09-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: update property documentation + and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE + * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h + device-src/property.c device-src/property.h device-src/device.c + man/xml-source/amanda-changers.7.xml: rename property + * device-src/tape-device.c: accept old and new property names + * installcheck/Amanda_Device.pl: tests + +2009-09-10 Jean-Louis Martineau + * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and + DIRECTORY properties on restore + +2009-09-09 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: fix skip count + +2009-09-09 Dustin J. Mitchell + * common-src/util.c common-src/util.h: allow to drop root privs + entirely + * common-src/pipespawn.c: drop root + * amandad-src/amandad.c: check effective userid + * common-src/krb5-security.c: check effective userid + * server-src/amcheck.c: check effective userid + +2009-09-08 Dustin J. Mitchell + * device-src/s3-device.c: handle EOT correctly + * installcheck/Amanda_Device.pl: check for it + +2009-09-08 Dustin J. Mitchell + * changer-src/chg-glue.pl common-src/amgetconf.pl + common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl + device-src/amtapetype.pl installcheck/Amanda_Config.pl + installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod + perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c + restore-src/amfetchdump.c server-src/amadmin.c + server-src/amcheck-device.pl server-src/amcheck.c + server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c + server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl + server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c + server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c + server-src/driver.c server-src/dumper.c server-src/planner.c + server-src/reporter.c server-src/taper.pl: change "config_overwrite" + to "config_override" + +2009-09-05 Dustin J. Mitchell + * server-src/amvault.pl: use destination volume filenums in amvault + +2009-09-04 Dustin J. Mitchell + * common-src/util.c: setuid(0) initially, so that we can release + and acquire root privs + +2009-09-03 Jean-Louis Martineau + * device-src/ndmp-device.c: Include "ndmp-proxy.h". + +2009-09-03 Dustin J. Mitchell + * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic + binary communication protocol + * common-src/ipc-binary-test.c: tests for same + * common-src/ndmp-protocol.h: removed + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact + with ndmp-proxy, including protocol + * common-src/util.c common-src/util.h: remove ndmp-proxy stuff + * common-src/Makefile.am: rename/add files + * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c + ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c: + use new protocol + +2009-09-03 Dustin J. Mitchell + * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline + +2009-09-03 Dustin J. Mitchell + * device-src/ndmp-device.c: remove spurious #include of stream.c + +2009-09-02 Jean-Louis Martineau + * common-src/debug.c: Improve debugging. + * restore-src/restore.h (rst_flags_t): Add header_to_fd. + * restore-src/amidxtaped.c: set header_to_fd to 1. + * restore-src/restore.c: Write header to header_to_fd. + * restore-src/amfetchdump.c: Add --header-fd and --header-file + arguments. + * man/xml-source/amfetchdump.8.xml: Document new --header-fd and + --header-file argument. + +2009-09-02 Dustin J. Mitchell + * perl/Amanda/Header.swg: remove spurious references to cmdline.h + +2009-09-02 Dustin J. Mitchell + * ndmp-src/Makefile.am: fix dumb typos + +2009-08-31 Dustin J. Mitchell + * man/entities/global.entities.in man/xml-source/amadmin.8.xml + man/xml-source/amcheck.8.xml man/xml-source/amcheckdump.8.xml + man/xml-source/amdevcheck.8.xml man/xml-source/amdump.8.xml + man/xml-source/amflush.8.xml man/xml-source/amgetconf.8.xml + man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml + man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml + man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml + man/xml-source/amvault.8.xml: use entities to represent config + overwrites consistently + 2009-08-31 Dustin J. Mitchell - * restore-src/amrestore.c: call device_configure + * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on + cmdline.h in a client-only package + * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs + * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust + tests 2009-08-31 Dan Locks * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of %files for server. -2009-08-13 Dustin J. Mitchell - * device-src/amtapetype.pl: fix bad merge of references to - Amanda:Header +2009-08-31 Jean-Louis Martineau + * config/amanda/dumpers.m4: Give only a warning if user specified path + is not correct for gtar and star. + +2009-08-28 Dustin J. Mitchell + * perl/Amanda/Device.pod: be explicit: finish_file is not for read + mode + +2009-08-26 Paul C. Mantz + * xfer-src/filter-process.c: fixed write warnings which were + breaking Ubuntu builds + +2009-08-26 Paul C. Mantz + * perl/Amanda/Logfile.swg: added four previously omitted program + types + * installcheck/Amanda_Logfile.pl: regression tests for the program + types + +2009-08-26 Jean-Louis Martineau + * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star. + * configure.in: Use AMANDA_PROG_STAR. + +2009-08-25 Jean-Louis Martineau + * config/amanda/components.m4: Fix --with-amrecover=yes + +2009-08-25 Jean-Louis Martineau + * ndmp-src/ndmp-protocol.h: Remove file. + * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h. + * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h. + +2009-08-25 Jean-Louis Martineau + * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE. + * configure.in: Use AMANDA_NDMP_DEVICE. + * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file + andndmp_proxy_debug_level. + * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE + and CNF_NDMP_PROXY_DEBUG_LEVEL + * common-src/ndmp-protocol.h: Define protocol between amanda and + ndmp-proxy. + * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy, + connect_to_ndmp_proxy): New functions. + * common-src/util.h: Add prototype for new functions. + * device-src/Makefile.am: Build ndmp-device. + * device-src/device.c: Use ndmp-device. + * device-src/ndmp-device.c: New ndmp device. + * device-src/tape-device.c: Small fix. + * ndmp-src/ndma_comm_proxy.c: Convert to network byte order. + * perl/Amanda/Config.swg: Export new CNF_* constants. + * perl/Amanda/Ndmp.swg: New module for ndmp function. + * perl/Amanda/Util.pod: Document Amanda::Util::finish_application. + * perl/Amanda/Util.swg: New finish_application function. + * perl/Makefile.am: Build Amanda::Ndmp + * server-src/amcheck-device.pl, server-src/amlabel.pl: Call + stop_ndmp_proxy and finish_application. + +2009-08-25 Jean-Louis Martineau + * man/xml-source/amfetchdump.8.xml: Document -h option. + * restore-src/amfetchdump.c: Document -h option, pass the server + feature set to search_tapes. + +2009-08-24 Paul C. Mantz + * perl/Amanda/Report.pm: Module for abstracting amreport data + * perl/Makefile.am: compile the module + * installcheck/Amanda_Report.pl: test for Amanda::Report + * installcheck/Makefile.am: add the test to installcheck + +2009-08-21 Dustin J. Mitchell + * man/xml-source/amgtar.8.xml: changes suggested by Christopher + + +2009-08-20 Jean-Louis Martineau + * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h" + * ndmp-src/Makefile.am: Link with libamanda + * ndmp-src/ndmos_glib.h: Use strtoll. + +2009-08-20 Jean-Louis Martineau + * ndmp-src/*: Import of ndmjob + ndmp-proxy. + * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy. + * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src. + * config/amanda/progs.m4: AMANDA_PROG_RPCGEN. + * config/amanda/components.m4: AMANDA_WITHOUT_NDMP. + * Makefile.am: Build ndmp-src. + +2009-08-20 Jean-Louis Martineau + * common-src/ipc-binary.c: New protocol + * common-src/ipc-binary.h: New protocol header + * common-src/Makefile.am: Compile it. + +2009-08-20 Jean-Louis Martineau + * man/xml-source/amanda-changers.7.xml: Typo. + +2009-08-20 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: tweak + * perl/Amanda/Changer.pm: fix configuration to also include device + alias configuration + * perl/Amanda/Device.pod: deprecate $dev->configure() + * man/xml-source/amanda-changers.7.xml: better documentation + of device configuration via changers + +2009-08-18 Dustin J. Mitchell + * restore-src/Makefile.am restore-src/amrestore.c: remove + * common-src/fileheader.c common-src/fileheader.h: add + summarize_header + * common-src/match.c: fix match_level bugs + * installcheck/Amanda_Header.pl: test matches_dumpspecs + * server-src/Makefile.am server-src/amrestore.pl: new perl version + * installcheck/amrestore.pl: remove TODO's, don't expect -p to go + on to the next dumpfile + * man/xml-source/amrestore.8.xml: update docs + * perl/Amanda/Cmdline.pod: typo + * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and + matches_dumpspec + * installcheck/Amanda_Util.pl: test sanitise_filename + * perl/Amanda/Util.pod: add sanitise_filename + +2009-08-18 Dustin J. Mitchell + * xfer-src/filter-process.c: new xfer element + * xfer-src/xfer-element.h: declare it + * perl/Amanda/Xfer.swg: SWIG it + * perl/Amanda/Xfer.pod: doc it + * xfer-src/Makefile.am: build it + * installcheck/Amanda_Xfer.pl: test it + +2009-08-18 Dustin J. Mitchell + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument + to start(), and make the get_source method "low-level" + * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl + installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl + device-src/amtapetype.pl: don't use get_source + * perl/Amanda/MainLoop.pod: documentation tweak + +2009-08-17 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm + perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in + release() + * server-src/amcheck-device.pl: fix stupid bug + +2009-08-14 Dan Locks + * example/Makefile.am: split example into server and client + installperms statements. + +2009-08-14 Dustin J. Mitchell + * server-src/amlabel.pl: handle error in Amanda::Changer->new + +2009-08-14 Dustin J. Mitchell + * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck + * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl: + add a 'multi' dumpcache and refactor Dumpcache.pm + * installcheck/Installcheck/Run.pm: better diagnostics, better access + to stderr from successful runs + +2009-08-12 Dustin J. Mitchell + * installcheck/taper.pl: add a check for taper startup err + * server-src/taper.pl: properly send a startup err instead of die()ing + * perl/Amanda/IPC/LineProtocol.pm: fix typos + +2009-08-05 Dustin J. Mitchell + * man/xml-source/amdevcheck.8.xml: manpage tweaks 2009-08-05 Dan Locks * Thanks to Jim Barber for pointing out these bugs. @@ -57,37 +3690,949 @@ of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600. * packaging/deb/control: add build-depends for libglib2.0-dev +2009-08-04 Dustin J. Mitchell + * installcheck/amcheck.pl: fix typo + +2009-08-04 Dustin J. Mitchell + * installcheck/amcheck.pl: put options before args for old getopts + * installcheck/Makefile.am: only run amcheck check on full install + +2009-08-04 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/amcheck.pl: new tests + * server-src/amcheck.c: fix usage message + +2009-08-04 Dustin J. Mitchell + * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback + +2009-08-04 Dustin J. Mitchell + * server-src/amcheck.c: initialize success properly + * installcheck/mock/mtx.pl: another workaround for bad perl parser + +2009-08-04 Dustin J. Mitchell + * installcheck/amlabel.pl: update tests for new messages + * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl: + rewrite amlabel in perl to use new changer API + * man/xml-source/amlabel.8.xml: overhaul manpage + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt + +2009-08-04 Dustin J. Mitchell + * server-src/amlabel.c server-src/amcheck.c: remove include of + taperscan.h + +2009-08-04 Dustin J. Mitchell + * server-src/Makefile.am server-src/amcheck-device.pl + server-src/amcheck.c: break out device-checking into a perl script + invoked from amcheck + * installcheck/Makefile.am installcheck/amcheck-device.pl: check new + script + * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite + volumes explicitly marked as blank (timestamp="X") + * server-src/taperscan.c server-src/taperscan.h: remove + +2009-08-04 Dustin J. Mitchell + * device-src/device.h: remove some comments that are now redundant + * perl/Amanda/Device.pod: put primary Device documentation here, + centralizing what used to be in the header file and on the wiki + +2009-08-04 Dustin J. Mitchell + * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds + confusing + +2009-08-04 Dustin J. Mitchell + * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests + +2009-08-03 Dustin J. Mitchell + * device-src/tape-posix.c: use g_debug instead of dbprintf + +2009-08-03 Dustin J. Mitchell + * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot + more than once in a scan object's lifetime + * man/xml-source/amanda-taperscan.7.xml: document this + +2009-08-03 Dustin J. Mitchell + * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl: + rewrite amtape in perl + * NEWS: describe changes + * man/xml-source/amtape.8.xml: document behavior + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg + perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add + user_msg_fn + * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update + tests to match new behavior + +2009-08-03 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add + except_slots, to allow slot scanning + * installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_robot.pl: test each implementation + +2009-08-03 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Changer/robot.pm: + new changer + * example/amanda.conf.in: adjust to correspond to new changers + * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests + * installcheck/Installcheck/Mock.pm: add $mock_mtx_path + * man/xml-source/amanda-changers.7.xml: documentation for new changer + * perl/Amanda/Changer.pm: POD tweak + +2009-07-31 Dan Locks + * packaging/deb/control, packaging/rpm/amanda.spec: add native + package names to conflict list + +2009-07-30 Dan Locks + * example/Makefile.am: separates client from server example, + label, and template files. + +2009-07-30 Dustin J. Mitchell + * device-src/Makefile.am device-src/xfer-source-taper.c + device-src/xfer-device.h: new xfer element + * device-src/xfer-source-device.c: typos + * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too + * perl/Amanda/XferServer.swg: SWIG it + * perl/Amanda/Xfer.pod: docs + * installcheck/Amanda_Xfer_serveronly.pl: test it + +2009-07-30 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix open of fd3. + +2009-07-30 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: open disk cache twice instead of + incorrectly relying on dup(); use a local variable to stop the + disk cacher for sure at the end of each part + +2009-07-29 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add an inventory() method + * perl/Amanda/Changer/disk.pm: implement + * perl/Amanda/Changer/rait.pm: implement + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl: test + +2009-07-29 Dustin J. Mitchell + * perl/Amanda/Changer.pm: do not release() reservations automatically + when they go out of scope + * server-src/amrmtape.pl installcheck/Amanda_Changer.pl + installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl: don't depend on auto-release + +2009-07-29 Dustin J. Mitchell + * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots', + shuffle vtapes instead of linking, and support 'nobarcode' + * installcheck/mock_mtx.pl: test it + +2009-07-28 Nikolas Coukouma + * installcheck/Installcheck.pm: Add a function for including Test::More + messages in debug logs (and document it). Move mkpath($TMP) into an + INIT block. + * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl, + installcheck/Amanda_IPC_LineProtocol.pl, + installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl, + installcheck/Amanda_Xfer_serveronly.pl, + installcheck/amrmtape.pl, installcheck/amtape.pl, + installcheck/taper.pl: use Installcheck::log_test_output() + +2009-07-27 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add a get_boolean_property helper method + +2009-07-27 Dustin J. Mitchell + * config/amanda/defaults.m4: remove --with-changer-device + * common-src/conffile.c: make NULL the default + * example/amanda.conf.in: remove reference to the default + * NEWS: note that option is no longer available + +2009-07-27 Dustin J. Mitchell + * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO + variables, and just syntax-check everything + * amar-src/Makefile.am application-src/Makefile.am + changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am + device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am: + adjust makefiles to match + * perl/Amanda/Changer/rait.pm: fix some warnings + 2009-07-24 Jean-Louis Martineau * amandad-src/amandad.c: Fix fd allocation. +2009-07-21 Dan Locks + * example/Makefile.am: add missing trailing slash + +2009-07-18 Dustin J. Mitchell + * installcheck/taper.pl: one more check for the taper's DONE + +2009-07-17 Dustin J. Mitchell + * installcheck/taper.pl: add a check for the taper's DONE + +2009-07-17 Dustin J. Mitchell + * server-src/xfer-source-holding.c: fix a race condition with + self->dest_taper + +2009-07-17 Dustin J. Mitchell + * server-src/Makefile.am: fix to distribute taper.pl + +2009-07-17 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl: fix test + +2009-07-17 Nikolas Coukouma + * installcheck/taper.pl: remove cruft + * server-src/Makefile.am: remove cruft + * server-src/taper.pl: fix copyright statement + +2009-07-17 Dustin J. Mitchell + * server-src/taper.pl: new taper (in perl) + * installcheck/taper.pl: update tests + * server-src/Makefile.am server-src/taper-disk-port-source.c + server-src/taper-disk-port-source.h server-src/taper-file-source.c + server-src/taper-file-source.h server-src/taper-mem-port-source.c + server-src/taper-mem-port-source.h server-src/taper-port-source.c + server-src/taper-port-source.h server-src/taper-source-test.c + server-src/taper-source.c server-src/taper-source.h + server-src/taper.c: deleted + +2009-07-17 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package + * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests + +2009-07-16 Dustin J. Mitchell + * server-src/diskfile.c: add missing _() + +2009-07-16 Dustin J. Mitchell + * man/Makefile.am man/xml-source/amanda.8.xml + man/xml-source/amanda-compatibility.7.xml: add new manpage describing + inter-version compatibility + * man/xml-source/amanda-taperscan.7.xml: fix use of &A; + 2009-07-16 Jean-Louis Martineau * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed. +2009-07-15 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm: + remove $res->{'next_slot'} in favor of $chg->load(relative_slot + => 'next', slot => $slot) + * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl + server-src/amvault.pl: use new form + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl: test it + +2009-07-15 Dustin J. Mitchell + * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev' + * NEWS: describe removed keyword + * installcheck/Amanda_Config.pl: don't test for it anymore + +2009-07-15 Dustin J. Mitchell + * perl/Amanda/Changer.pm: new with_locked_state method to help + subclasses access a locked statefile + * installcheck/Amanda_Changer.pl: test new method + * perl/Amanda/Changer/disk.pm: use new method + +2009-07-15 Dustin J. Mitchell + * common-src/amflock.h common-src/amflock.c: new fcntl-based + file locking support + * common-src/amflock-test.c: test them + * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them + * installcheck/Amanda_Util.pl: test that too + +2009-07-15 Dustin J. Mitchell + * gnulib/regenerate/regenerate: add ftruncate and lseek modules + * config/config.rpath config/gnulib/* gnulib/*: new modules + +2009-07-14 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: sort numeric values numerically + * installcheck/Amanda_DB_Catalog.pl: test same + +2009-07-14 Jean-Louis Martineau + * server-src/driverio.c: Print strerror if update of infofile failed. + +2009-07-14 Jean-Louis Martineau + * config/automake/scripts.am: Fix *.nouselib creation. + +2009-07-13 Dustin J. Mitchell + * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current' + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm: + implement + * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl + installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl + server-src/amvault.pl: use new key + +2009-07-13 Jean-Louis Martineau + * application-src/amsamba.pl: Fix parsing domain in amandapass. + +2009-07-11 Dustin J. Mitchell + * example/Makefile.am: fix typo (lbtempl vs. lbltempl) + +2009-07-10 Nikolas Coukouma + * device-src/s3-device.c: fix calls to erase() before start() + * installcheck/data/aws-bundle.crt: use a larger certificate bundle + * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com + with custom certificate bundle, test erase() before start(), + try to do more with an invalid certificate bundle + +2009-07-10 Dustin J. Mitchell + * configure.in: don't generate all of the example/ files here + * example/Makefile.am: generate them here + * example/chg-mcutil.conf.in: removed + * example/config.site: removed + +2009-07-09 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink + instead of 'current', as required by previous change + +2009-07-09 Alan Hodgson + * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties + * man/xml-source/amgtar.8.xml: document them + +2009-07-09 Dustin J. Mitchell + * common-src/util.c common-src/util.h: add quote_string_always + * common-src/conffile.c: use it to quote strings on output from config + +2009-07-09 Dustin J. Mitchell + * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE + VERSION_MAJOR, _MINOR, etc. + * common-src/version.h: remove everything but version_info + * client-src/versionsuffix.c client-src/Makefile.am: remove + versionsuffix app + * configure.in: remove versuff.c + * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove + USE_VERSION_SUFFIXES + * other source files: change version() to VERSION, remove + versionsuffix() calls, remove unnecessary #include "version.h", + and remove other uses of suffixes + +2009-07-09 Dustin J. Mitchell + * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead + of 'current', so the vtape root works as a device + * man/xml-source/amanda-changers.7.xml: document + +2009-07-09 Dustin J. Mitchell + * amandad-src/amandad.c: conditionalize UID checks + +2009-07-09 Dustin J. Mitchell + * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c: + prefer 'application' and 'script' to 'application-tool' and + 'script-tool', but accept both + * common-src/amgetconf.pl: accept both + * installcheck/Installcheck/Config.pm: add_text() + * installcheck/Amanda_Config.pl: test changes + * installcheck/amgetconf.pl: test changes + * man/xml-source/amanda-client.conf.5.xml: document + * man/xml-source/amanda.conf.5.xml: document + +2009-07-09 Dustin J. Mitchell + * AUTHORS: update, add notes about contribution licensing + +2009-07-06 Dustin J. Mitchell + * changer-src/chg-glue.pl: unref the device, in hopes it will + close the open file descriptor so that tape devices can be used + from the process that invoked chg-glue + +2009-07-03 Dustin J. Mitchell + * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7) + +2009-06-30 Dustin J. Mitchell + * perl/Makefile.am: change "Scribe.pm" to "Scan.pm" + +2009-06-30 Dustin J. Mitchell + * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm + perl/Makefile.am: add Perl implementation of the traditional taperscan + algorithm + * installcheck/Amanda_Taper_Scan.pl + installcheck/Amanda_Taper_Scan_traditional.pl + installcheck/Makefile.am: test + * perl/Amanda/Changer/disk.pm: test support tweak + * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage + with a full description of the traditional algo + * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search + +2009-06-30 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: add synchronized() + * perl/Amanda/MainLoop.pod: document it + * installcheck/Amanda_MainLoop.pl: test it + * perl/Amanda/Changer/compat.pm: and use it + +2009-06-29 Nikolas Coukouma + * device-src/s3.c, installcheck/Amanda_Device.pl: + Don't allow dots in bucket names, for compatability with + libcurl built against NSS. + +2009-06-29 Nikolas Coukouma + * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt: + Test using a certificate bundle with the S3 device + +2009-06-26 Jean-Louis Martineau + * common-src/conffile.c: New ORDER keyword in script section. + * common-src/conffile.h: New ORDER keyword in script section. + * man/xml-source/amanda.conf.5.xml: Document ORDER keyword. + * perl/Amanda/Config.swg: Bing ORDER keyword. + * application-src/amlog-script.pl: Add --text parameter. + * installcheck/pp-scripts.pl: Check execution order. + +2009-06-26 Jean-Louis Martineau + * restore-src/amfetchdump.c, restore-src/amrestore.c, + restore-src/restore.c: Add debugging. + +2009-06-22 Jean-Louis Martineau + * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f. + +2009-06-19 Dan Locks + * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet" + changes to packages. + +2009-06-19 Dan Locks + * packaging/deb/server/control, packaging/deb/client/control: update + depends to list libcurl3 or 4. + +2009-06-19 Dustin J. Mitchell + * perl/Amanda/Tapelist.swg: add tapes at the beginning and be + explicit about maintaining tape order with a stable sort + * perl/Amanda/Tapelist.pod: document it + * man/xml-source/tapelist.5.xml: manpages too + * installcheck/Amanda_Tapelist.pl: test it + * installcheck/Makefile.am: sort alphabetically + +2009-06-19 Dustin J. Mitchell + * perl/Amanda/Util.swg: expose get_fs_usage in perl + * installcheck/Amanda_Util.pl: test it + * perl/Amanda/Util.pod: document it + 2009-06-19 Jean-Louis Martineau * server-src/reporter.c: Use the filenum from the PART line. Keep the filenum of the first part. +2009-06-19 Nikolas Coukouma + * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c, + application-src/amlog-script.pl, application-src/ampgsql.pl, + application-src/amsamba.pl, application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl, + application-src/script-email.pl, changer-src/chg-glue.pl, + common-src/amaespipe.sh, common-src/amcryptsimple.pl, + common-src/amgetconf.pl, common-src/amgpgcrypt.pl, + common-src/event-test.c, common-src/glib-util.c, + common-src/glib-util.h, common-src/queueing-test.c, + common-src/queueing.c, common-src/queueing.h, + common-src/quoting-test.c, common-src/semaphore-test.c, + common-src/semaphore.c, common-src/semaphore.h, + common-src/simpleprng.c, common-src/simpleprng.h, + common-src/sockaddr-util.c, common-src/sockaddr-util.h, + common-src/testutils.c, common-src/testutils.h, + config/automake/scripts.am, config/automake/vars.am, + config/macro-archive/docbook-dtd.m4, + config/macro-archive/docbook-xslt-min.m4, + config/macro-archive/docbook-xslt.m4, + config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl, + device-src/amtapetype.pl, device-src/device-queueing.c, + device-src/device-queueing.h, device-src/device.c, + device-src/device.h, device-src/null-device.c, device-src/property.c, + device-src/property.h, device-src/rait-device.c, + device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h, + device-src/s3.c, device-src/s3.h, device-src/tape-aix.c, + device-src/tape-device.c, device-src/tape-device.h, + device-src/tape-ops.h, device-src/tape-posix.c, + device-src/tape-uware.c, device-src/tape-xenix.c, + device-src/vfs-device.c, device-src/vfs-test.c, + device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c, + device-src/xfer-device.h, device-src/xfer-source-device.c, + installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl, + installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl, + installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl, + installcheck/Amanda_Holding.pl, + installcheck/Amanda_IPC_LineProtocol.pl, + installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl, + installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl, + installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl, + installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm, + installcheck/Installcheck/Application.pm, + installcheck/Installcheck/Changer.pm, + installcheck/Installcheck/Config.pm, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm, + installcheck/_setupcache.pl, installcheck/amarchiver.pl, + installcheck/amcheckdump.pl, installcheck/amdevcheck.pl, + installcheck/amdump.pl, installcheck/amfetchdump.pl, + installcheck/amgetconf.pl, installcheck/amgtar.pl, + installcheck/ampgsql.pl, installcheck/amreport.pl, + installcheck/amrmtape.pl, installcheck/amservice.pl, + installcheck/amstatus.pl, installcheck/amtape.pl, + installcheck/amtapetype.pl, installcheck/bigint.pl, + installcheck/mock/mtx.pl, installcheck/mock_mtx.pl, + installcheck/pp-scripts.pl, installcheck/taper.pl, + perl/Amanda/Application.pod, perl/Amanda/Application.swg, + perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod, + perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm, + perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm, + perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg, + perl/Amanda/Config.pod, perl/Amanda/Config.swg, + perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm, + perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod, + perl/Amanda/Device.swg, perl/Amanda/Disklist.pod, + perl/Amanda/Disklist.swg, perl/Amanda/Header.pod, + perl/Amanda/Header.swg, perl/Amanda/Holding.pm, + perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod, + perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod, + perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in, + perl/Amanda/Process.pm, perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod, + perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod, + perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg, + perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg, + perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg, + perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c, + perl/amglue/constants.swg, perl/amglue/dumpspecs.swg, + perl/amglue/exports.swg, perl/amglue/filehandles.swg, + perl/amglue/ghashtable.c, perl/amglue/glib.swg, + perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c, + perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl, + server-src/amcheckdump.pl, server-src/amcleanup.pl, + server-src/amrmtape.pl, server-src/amserverconfig.pl, + server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h, + server-src/taper-disk-port-source.c, + server-src/taper-disk-port-source.h, server-src/taper-file-source.c, + server-src/taper-file-source.h, server-src/taper-mem-port-source.c, + server-src/taper-mem-port-source.h, server-src/taper-port-source.c, + server-src/taper-port-source.h, server-src/taper-source.c, + server-src/taper-source.h, server-src/taperscan.c, + server-src/taperscan.h, server-src/xfer-server.h, + server-src/xfer-source-holding.c, xfer-src/amxfer.h, + xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c, + xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c, + xfer-src/source-pattern.c, xfer-src/source-random.c, + xfer-src/xfer-element.c, xfer-src/xfer-element.h, + xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h, + xfer-src/xmsg.c, xfer-src/xmsg.h: + update/correct copyright notice years + +2009-06-17 Dustin J. Mitchell + * config/automake/scripts.am: support scripts with subdirs + +2009-06-17 Dustin J. Mitchell + * installcheck/mock/mtx.pl: new "mock" mtx for testing + * installcheck/mock_mtx.pl: test the test mtx + * installcheck/Installcheck/Mock.pm: support for using mtx + * installcheck/Installcheck/Run.pm: don't apply sbindir if there + are any slashes in the app name + * installcheck/Makefile.am: new files + +2009-06-16 Jean-Louis Martineau + * server-src/planner.c: Fix for bump from level 9 to 10. + +2009-06-13 Dustin J. Mitchell + * installcheck/Amanda_Changer_compat.pl: add test case for concurrent + calls to chg-compat's info() (tests the fix committed 2009-06-01) + +2009-06-12 Dustin J. Mitchell + * config/amanda/flags.m4: fix --enable-werror macro + +2009-06-12 Jean-Louis Martineau + * server-src/planner.c: Print how tape_length is computed. + 2009-06-12 Jean-Louis Martineau * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root * man/xml-source/amanda-client.conf.5.xml: Typo. * man/xml-source/amanda.conf.5.xml: Add ssh_keys. +2009-06-11 Nikolas Coukouma + * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c, + common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c, + common-src/queueing.h, common-src/semaphore-test.c, + common-src/semaphore.c, common-src/semaphore.h, + config/automake/scripts.am, config/automake/vars.am, + device-src/device-queueing.c, device-src/device-queueing.h, + device-src/device.c, device-src/device.h, device-src/null-device.c, + device-src/property.c, device-src/property.h, + device-src/rait-device.c, device-src/s3-device.c, + device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c, + device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c, + device-src/tape-device.h, device-src/tape-ops.h, + device-src/tape-posix.c, device-src/tape-uware.c, + device-src/tape-xenix.c, device-src/vfs-device.c, + device-src/vfs-test.c, device-src/xfer-dest-device.c, + device-src/xfer-dest-taper.c, device-src/xfer-device.h, + device-src/xfer-source-device.c, perl/Amanda/Application.pod, + perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm, + perl/Amanda/Archive.pod, perl/Amanda/Archive.swg, + perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm, + perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod, + perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod, + perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in, + perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod, + perl/Amanda/Device.swg, perl/Amanda/Disklist.pod, + perl/Amanda/Disklist.swg, perl/Amanda/Header.pod, + perl/Amanda/Header.swg, perl/Amanda/Holding.pm, + perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod, + perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod, + perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in, + perl/Amanda/Process.pm, perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod, + perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod, + perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg, + perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg, + perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg, + perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c, + perl/amglue/constants.swg, perl/amglue/dumpspecs.swg, + perl/amglue/exports.swg, perl/amglue/filehandles.swg, + perl/amglue/ghashtable.c, perl/amglue/glib.swg, + perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c, + perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c, + server-src/taper-disk-port-source.h, server-src/taper-file-source.c, + server-src/taper-file-source.h, server-src/taper-mem-port-source.c, + server-src/taper-mem-port-source.h, server-src/taper-port-source.c, + server-src/taper-port-source.h, server-src/taper-source.c, + server-src/taper-source.h, server-src/xfer-server.h, + server-src/xfer-source-holding.c, xfer-src/amxfer.h, + xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c, + xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c, + xfer-src/source-pattern.c, xfer-src/source-random.c, + xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c, + xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h: + relincense LGPL files under the GPL + +2009-06-10 Paul C. Mantz + * perl/Amanda/Application.pod: moved from .swg file + * perl/Amanda/Application.swg: removed pod documentation + * perl/Amanda/Archive.pod: moved from .swg file + * perl/Amanda/Archive.swg: removed pod documentation + * perl/Amanda/Cmdline.pod: moved from .swg file + * perl/Amanda/Cmdline.swg: removed pod documentation + * perl/Amanda/Config.pod: moved from .swg file + * perl/Amanda/Config.swg: removed pod documentation + * perl/Amanda/Debug.pod: moved from .swg file + * perl/Amanda/Debug.swg: removed pod documentation + * perl/Amanda/Device.pod: moved from .swg file + * perl/Amanda/Device.swg: removed pod documentation + * perl/Amanda/Disklist.pod: moved from .swg file + * perl/Amanda/Disklist.swg: removed pod documentation + * perl/Amanda/Header.pod: moved from .swg file + * perl/Amanda/Header.swg: removed pod documentation + * perl/Amanda/Logfile.pod: moved from .swg file + * perl/Amanda/Logfile.swg: removed pod documentation + * perl/Amanda/MainLoop.pod: moved from .swg file + * perl/Amanda/MainLoop.swg: removed pod documentation + * perl/Amanda/Tapelist.pod: moved from .swg file + * perl/Amanda/Tapelist.swg: removed pod documentation + * perl/Amanda/Tests.pod: moved from .swg file + * perl/Amanda/Tests.swg: removed pod documentation + * perl/Amanda/Util.pod: moved from .swg file + * perl/Amanda/Util.swg: removed pod documentation + * perl/Amanda/Xfer.pod: moved from .swg file + * perl/Amanda/Xfer.swg: removed pod documentation + * perl/Amanda/XferServer.pod: moved from .swg file + * perl/Amanda/XferServer.swg: removed pod documentation + * perl/Makefile.am: added pod files to tar dist + +2009-06-05 Nikolas Coukouma + * installcheck/Amanda_Device.pl: test device named just "s3:" + +2009-06-03 Dustin J. Mitchell + * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric + Olsen + +2009-06-03 Dustin J. Mitchell + * config/amanda/dumpers.m4: fix quoting for shell portability + +2009-06-02 Nikolas Coukouma + * device-src/s3.c: retry S3 uploads on DNS failure + +2009-06-01 Dustin J. Mitchell + * installcheck/Installcheck/Config.pm: add remove_param + * installcheck/Makefile.am installcheck/amtape.pl: new installcheck + +2009-06-01 Dustin J. Mitchell + * perl/Amanda/Header.swg: add :constant tag + * server-src/amvault.pl: use it + +2009-06-01 Dustin J. Mitchell + * device-src/s3-device.c: start delete at file 1 + +2009-06-01 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info + +2009-06-01 Dustin J. Mitchell + * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a + message before existing; fixes problems on OS X + +2009-05-28 Jean-Louis Martineau + * server-src/amindexd.c: fix sscanf. + +2009-05-28 Jean-Louis Martineau + * server-src/reporter.c: Print only the first 100 lines in FAiL and + STRANGE detail section. + +2009-05-27 Jean-Louis Martineau + * common-src/match.c: Match UNC name diskname. + * man/xml-source/amanda.8.xml: Document UNC matcher. + +2009-05-27 Jean-Louis Martineau + * client-src/client_util.c: Improve error reporting. + * client-src/sendsize.c: Typo + * client-src/selfcheck.c: Execute application with --calcsize even if + it not the first estimate. + * application-src/amgtar.c: Check calcsize binary. + * application-src/amstar.c: Check calcsize binary. + * server-src/planner.c: log sendsize error as warning if a server + estimate is available. + +2009-05-26 Jean-Louis Martineau + * application-src/amgtar.c: Set MAX_LEVEL to 399. + * common-src/amanda.h: Set DUMP_LEVELS to 400. + * client-src/amandates.h: Remove DUMP_LEVELS. + * server-src/infofile.h: Remove DUMP_LEVELS + * server-src/amtrmidx.c: Fix for level with more than one digit. + * server-src/amindexd.c, server-src/find.c + server-src/reporter.c: Use DUMP_LEVELS. + +2009-05-25 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: make the pointers, not the objects, + volatile + +2009-05-25 Jean-Louis Martineau + * common-src/fileheader.c: use %zu for a size_t argument. + +2009-05-25 Jean-Louis Martineau + * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR. + * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS. + * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR. + +2009-05-24 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package + * perl/Amanda/Util.swg: add split_quoted_strings + * common-src/util.c: handle NULL string correctly + * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl + installcheck/Makefile.am: tests for all + +2009-05-24 Dustin J. Mitchell + * installcheck/amservice.pl: call $testconfig->write(); + +2009-05-24 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab + size heuristic; handle the case where extra slabs are still in memory + when rewinding a disk-cached part; add 'volatile' and make memory + access safer; use a cache directory, not file + * device-src/xfer-device.h: use a cache directory, not file + * installcheck/Amanda_Xfer_serveronly.pl: use cache directory + * perl/Amanda/Xfer.swg: use cache directory + * perl/Amanda/XferServer.swg: use cache directory + +2009-05-23 Dustin J. Mitchell + * common-src/fileheader.c: use %zd for a size_t argument + +2009-05-23 Dustin J. Mitchell + * common-src/fileheader.c: don't automatically call dump_fileheader_t + in build_header + * server-src/dumper.c server-src/holding.c server-src/taper.c + server-src/chunker.c: add debug messages as necessary + +2009-05-23 Dustin J. Mitchell + * device-src/amdevcheck.pl: move from server-src/ + * device-src/Makefile.am server-src/Makefile.am: move script + +2009-05-23 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: run a full manual scan on update() + * installcheck/Amanda_Changer_compat.pl: test it + +2009-05-23 Dustin J. Mitchell + * amandad-src/Makefile.am application-src/Makefile.am + oldrecover-src/Makefile.am recover-src/Makefile.am + restore-src/Makefile.am: remove LIB_EXTENSION + * config/amanda/defaults.m4 config/amanda/devprefix.m4 + config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4 + config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4 + config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4 + config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use + AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for + compilers!) + 2009-05-22 Jean-Louis Martineau * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp. 2009-05-22 Jean-Louis Martineau * client-src/sendbackup.c: Compatibity with 2.4.2 server. +2009-05-22 Dustin J. Mitchell + * device-src/vfs-device.c: close the tapelabel file after reading it + +2009-05-21 Jean-Louis Martineau + * server-src/planner.c: Fix for 'estimate calcsize server' with older + client. + +2009-05-21 Jean-Louis Martineau + * common-src/queueing.c: set queue_fd->errmsg. + * restore-src/restore.c: report queue_fd.errmsg + * server-src/amcheckdump.pl: report $queue_fd->{errmsg} + Check validation status before reporting status. + + +2009-05-21 Dustin J. Mitchell + * changer-src/chg-zd-mtx.sh: make -search errors non-fatal + +2009-05-20 Jean-Louis Martineau + * restore-src/restore.c: Report error. + +2009-05-20 Dustin J. Mitchell + * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen + is true; same for tapedev + +2009-05-20 Dustin J. Mitchell + * server-src/changer.c: revert a change (from 2009-02-20) which caused + taperscan to not do a sequential scan if stage one fails + +2009-05-20 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm: + add a fast_search info key + * installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl: test it + * changer-src/chg-glue.pl: and use it to reflect searchability to old + changer API users + +2009-05-20 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm: + changers return full devices, not just device names, and + configure those devices based on device_property parameters + specified in 'changer' configuration sections + * changer-src/chg-glue.pl: return the device_name from the device + (thereby losing the config info) + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + add changer properties and device_properties + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl + installcheck/amrmtape.pl: test changer changes + * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate + device manually + +2009-05-19 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors + * installcheck/Amanda_MainLoop.pl: ..so don't test it + +2009-05-19 Dustin J. Mitchell + * perl/Makefile.am: revert -Werror change - SWIG output is invalid C + in many cases + +2009-05-19 Jean-Louis Martineau + * common-src/conffile.c: Add reapply_config_overwrites. + * common-src/conffile.h: Add prototype of reapply_config_overwrites. + * perl/Amanda/Config.swg: Add reapply_config_overwrites. + * recover-src/amrecover.c: Call reapply_config_overwrites. + +2009-05-18 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: new high-level call_after, + call_on_child_termination, async_read, async_write; POD for new functions; and + description of good async style + * installcheck/Amanda_MainLoop.pl: test new functions + * perl/amglue/filehandles.swg: use SvIOK + +2009-05-18 Dustin J. Mitchell + * perl/Makefile.am: add -Werror on gcc + 2009-05-15 Jean-Louis Martineau * server-src/driver.c: Fix crash in amflush. +2009-05-15 Dustin J. Mitchell + * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm + perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg + perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup + +2009-05-15 Dustin J. Mitchell + * installcheck/Installcheck.pm:always create $Installcheck::TMP; + package returns 1 + * installcheck/Installcheck/Run.pm: export run_expect + * installcheck/amarchiver.pl: quote a path + +2009-05-15 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: qualify one last debug message + +2009-05-15 Dustin J. Mitchell + * perl/Amanda/XferServer.swg: include xfer-server.h + +2009-05-15 Dustin J. Mitchell + * common-src/debug.c common-src/debug.h: refactor set_logerr + and erroutput_type into a more flexible amanda_log_handler system + * server-src/logfile.c server-src/logfile.h: provide + amanda_log_trace_log + * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it + * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it + * amandad-src/amandad.c application-src/amgtar.c + application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c + client-src/sendbackup.c client-src/sendsize.c + restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c + server-src/amcheck.c server-src/amflush.c server-src/amlabel.c + server-src/amlogroll.c server-src/amservice.c server-src/amtape.c + server-src/chunker.c server-src/driver.c server-src/dumper.c + server-src/planner.c server-src/reporter.c server-src/taper.c: use new + system + 2009-05-15 Jean-Louis Martineau * common-src/debug.c: Fix memory leak. +2009-05-13 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small + refactoring + * installcheck/Amanda_Changer_rait.pl: update tests to expect it + +2009-05-13 Dustin J. Mitchell + * perl/Amanda/Device.swg: parse string values for properties + * installcheck/Amanda_Device.pl: test + +2009-05-12 Jean-Louis Martineau + * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error + +2009-05-08 Dustin J. Mitchell + * perl/Amanda/Logfile.swg: add log_add + * installcheck/Amanda_Logfile.pl: test it + +2009-05-08 Jean-Louis Martineau + * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL. + +2009-05-07 Chris Hoogendyk + * man/xml-source/amanda-auth.7.xml: explain default for amandahosts + "service" + +2009-05-07 Dustin J. Mitchell + * server-src/changer.c: remove unused variable + 2009-05-07 Dustin J. Mitchell Jean-Louis Martineau * common-src/debug.c: do not use a mutex in debug_printf - * common-src/pipespawn.c server-src/changer.c: + * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c: do not call debug_printf after fork() 2009-05-06 Dustin J. Mitchell @@ -95,6 +4640,20 @@ for kbps * installcheck/taper.pl: don't expect 'nan' +2009-05-04 Nikolas Coukouma + * server-src/amrmtape.pl: try loading disklist before erasing, + before amadmin tries (and possibly fails) + +2009-05-04 Jean-Louis Martineau + * man/xml-source/amdevcheck.8.xml: Document exit code. + * server-src/amdevcheck.pl: change exit code. + +2009-05-04 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/taper.pl: new installcheck for + taper + * installcheck/Installcheck/Config.pm: cleanup + * installcheck/Installcheck/Run.pm: cleanup + 2009-05-04 Dustin J. Mitchell * server-src/taper-mem-port-source.c server-src/taper-disk-port-source.c: continue reading from the port @@ -105,13 +4664,135 @@ correctly calculate estimated number of parts * server-src/taper-port-source.c: replace assertion with 'if' +2009-05-04 Jean-Louis Martineau + * server-src/amdevcheck.pl: Add '--label' option. + * man/xml-source/amdevcheck.8.xml: Document '--label' option. + +2009-05-04 Nikolas Coukouma + * application-src/ampgsql.pl: accept gnutar-path option; + use absolute path when calling unlink() + +2009-05-04 Jean-Louis Martineau + * server-src/taper.c: do not include a partial part in the size + calculation + +2009-04-30 Jean-Louis Martineau + * server-src/driver.c: Fix deadlock. + +2009-04-30 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: Validate if + binary not available. + +2009-04-30 Jean-Louis Martineau + * application-src/amstar.c: Compile pattern once. + Remove a superfluous '\n'. + +2009-04-30 Jean-Louis Martineau + * application-src/amstar.c: Handle hard link. + +2009-04-29 Jean-Louis Martineau + * server-src/changer.c: s/execve/execv + +2009-04-29 Jean-Louis Martineau + * server-src/changer.c: Pass command override to chg-glue. + * changer-src/chg-glue.pl: Parse command override. + +2009-04-28 Jean-Louis Martineau + * server-src/amadmin.c: Fix error reporting in find subcommand. + +2009-04-28 Jean-Louis Martineau + * recover-src/amrecover.h: Change prototype. + * recover-src/extract_list.c: merge_path, abort if cd_* failed. + * recover-src/set_commands.c: Many functions return 0 or 1. + +2009-04-28 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix redirection in validate command. + +2009-04-28 Jean-Louis Martineau + * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml, + man/xml-source/amflush.8.xml, + man/xml-source/amrestore.8.xml: Fix order of -o argument. + * restore-src/amfetchdump.c, restore-src/amrestore.c, + server-src/amcheck.c, + server-src/amflush.c: Fix order of -o argument in usage function. + +2009-04-28 Jean-Louis Martineau + * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk + expression section. + +2009-04-28 Nikolas Coukouma + * application-src/ampgsql.pl: remove checks for PG-DATADIR + +2009-04-27 Nikolas Coukouma + * application-src/ampgsql.pl: lowercase property names when accessing them + +2009-04-27 Nikolas Coukouma + * application-src/ampgsql.pl: fix debug printing of property names, + add parent directory checks to selfcheck command, + check psql binary path, fix whitespace + * perl/Amanda/Application.swg: update usage docs + * installcheck/Installcheck/Application.pm: fix formatting tags + remove 'level' argument from selfcheck command + * installcheck/ampgsql.pl: test selfcheck command a bit + +2009-04-27 Jean-Louis Martineau + * server-src/amcheck.c: Remove "Usage of fully qualified hostname + recommended for Client" warning. + +2009-04-27 Jean-Louis Martineau + * application-src/amsamba.pl: Use device if specified. + 2009-04-27 Jean-Louis Martineau * client-src/sendbackup.c: Fix dbprintf statements. +2009-04-24 Jean-Louis Martineau + * application-src/amsuntar.pl: Add LANG property. + * man/xml-source/amsuntar.8.xml: Document LANG property. + +2009-04-23 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header, + add strange regex for UTF-8, estimate fail only if an output match + an error regex or if an output match nothing. + +2009-04-23 Dustin J. Mitchell + * server-src/amcheckdump.pl: request tapes manually when using + Amanda::Changer::single + +2009-04-23 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix validate command. + +2009-04-22 Jean-Louis Martineau + * server-src/amcheckdump.pl: Wait for an input before reading tape. + +2009-04-22 Jean-Louis Martineau + * application-src/amsamba.pl: Parse username ending with '%'. + 2009-04-22 Sam Couter * changer-src/chg-glue.pl: return a helpful error message when Amanda::Changer->new() fails +2009-04-22 Jean-Louis Martineau + * server-src/amstatus.pl: Print percentage done when writing to tape. + +2009-04-21 Dustin J. Mitchell + * server-src/Makefile.am server-src/xfer-server.h + server-src/xfer-source-holding.c: new module reading from holding + files + * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg + perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add + Amanda::Xfer::Source::Holding + * device-src/xfer-dest-taper.c: make class macros public; ignore + cache_inform when part_size == 0 + * device-src/xfer-device.h: xfer-dest-taper class macros + * xfer-src/amxfer.h: include element-glue.h + * installcheck/Amanda_Xfer_serveronly.pl: updated tests + +2009-04-21 Jean-Louis Martineau + * server-src/diskfile.c: Typo. + +2009-04-21 Jean-Louis Martineau + * server-src/diskfile.c: Print ", quoting may not be correct". + 2009-04-21 Jean-Louis Martineau * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK' property to 'tape:' driver. @@ -128,22 +4809,167 @@ it can find value for the 'FSF_AFTER_FILEMARK' property. * man/xml-source/amtapetype.8.xml: Document -p options +2009-04-20 Jean-Louis Martineau + * client-src/sendsize.c: Typo + * server-src/planner.c: Don't log failed estimate message. + 2009-04-20 Jean-Louis Martineau * device-src/tape-device.c: handle EROFS in open. +2009-04-20 Jean-Louis Martineau + * changer-src/chg-zd-mtx.sh: Improve error message. + +2009-04-20 Dustin J. Mitchell + * device-src/tape-device.c: improve error messages on reading/writing + 2009-04-17 Nikolas Coukouma * device-src/device.c: fix error message for unparsable property + * installcheck/Amanda_Device.pl: test error message + +2009-04-17 Jean-Louis Martineau + * server-src/cmdline.c: host, disk and timestamp argument are not regex + +2009-04-17 Jean-Louis Martineau + * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match. + +2009-04-16 Jean-Louis Martineau + * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR + properties. + * man/xml-source/amsuntar.8.xml: Document them. + +2009-04-16 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: get call_later order right, more useful + sub names + * installcheck/Amanda_MainLoop.pl: tests for same + +2009-04-16 Jean-Louis Martineau + * server-src/amcheckdump.pl: Fix three typos. + +2009-04-16 Nikolas Coukouma + * server-src/amcheckdump.pl: Print per-image status messages, + with detailed error info + +2009-04-15 Jean-Louis Martineau + * application-src/amsamba.pl: Fix parsing of username... + +2009-04-15 Jean-Louis Martineau + * server-src/amcheckdump.pl: Validate image if all part are available. + +2009-04-15 Jean-Louis Martineau + * client-src/sendsize.c: Don't report "can't estimate level" error. + +2009-04-15 Jean-Louis Martineau + * server-src/taperscan.c: Make find_brand_new_tape_label return an + error message instead of printing it to stderr. Make scan_read_label + use the error message from find_brand_new_tape_label. 2009-04-15 Dustin J. Mitchell * restore-src/amfetchdump.c: keep the order of tapes within a particular run of Amanda +2009-04-15 Nikolas Coukouma + * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use + and more pleasant to debug. + * installcheck/Amanda_Changer.pl, + installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_single.pl, + perl/Amanda/Changer.pm, + perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/null.pm, + perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/single.pm, + perl/Amanda/MainLoop.swg, + server-src/amrmtape.pl, + server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it + +2009-04-14 Jean-Louis Martineau + * application-src/amsamba.pl: Default amandapass file is + CONFIG_DIR/amandapass. + +2009-04-14 Jean-Louis Martineau + * common-src/conffile.c: Fix inheriting properties. + * installcheck/Amanda_Config.pl: Test it. + +2009-04-14 Jean-Louis Martineau + * amandad-src/amandad.c: Improve error message. + +2009-04-14 Jean-Louis Martineau + * server-src/amstatus.pl: Remove spurious debug message. + +2009-04-14 Jean-Louis Martineau , + Satya Ganga + * application-src/amzfs-sendrecv.pl: Use complete compress ratio. + +2009-04-14 Jean-Louis Martineau , + Dustin J. Mitchell + Bug found by Gene Heskett. + * server-src/planner.c: Set dp before using it. + +2009-04-11 Jean-Louis Martineau + * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property. + Allow '\' in diskname and amandapass. + * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property. + +2009-04-11 Jean-Louis Martineau + * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0 + Parse hard link in index. + * server-src/amstatus.pl: Fix amstatus for partial chunker. + * installcheck/amstatus.pl: Test it. + * installcheck/Installcheck/Run.pm: export an $exit_code variable. + 2009-04-10 Dustin J. Mitchell * common-src/conffile.c: fix handling of double-backslash in quoted strings -2009-04-09 Jean-Louis Martineau - * server-src/dumper.c: Check authopt before using it. +2009-04-09 Ray Tracer + * application-src/amgtar.c: add missing 'break' + +2009-04-09 Dustin J. Mitchell + * common-src/conffile.c: store properties in lower-case + * perl/Amanda/Config.swg: document data formats for config values + * installcheck/Amanda_Config.pl: test case-sensitivity + +2009-04-09 Dustin J. Mitchell + * device-src/rait-device.c: add rait_device_new_from_children + * device-src/device.h: prototype + * perl/Amanda/Device.swg: wrap into perl + * installcheck/Amanda_Device.pl: test + +2009-04-08 Dustin J. Mitchell + * device-src/tape-device.c: fix typo to get device_name right + +2009-04-08 Nikolas Coukouma , Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location + +2009-04-08 Dustin J. Mitchell + * common-src/fileheader.c: fix early return if PROGRAM not given + * perl/Amanda/Disklist.swg: do not free the C disklist + * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with + functionality similar to server-src/holding.[ch] + * server-src/holding.h: clarify comments + * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm + installcheck/Makefile.am: tests + +2009-04-08 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: fix uninitialized-value warnings + +2009-04-07 Dustin J. Mitchell + * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks + +2009-04-07 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: new xfer element to handle splitting + dumpfiles over multiple volumes, with retry of failed split parts + * device-src/Makefile.am: new file + * device-src/xfer-device.h: new prototype + * installcheck/Amanda_Xfer_serveronly.pl: new tests + * installcheck/Installcheck/Run.pm: increase default vtape size + * perl/Amanda/Xfer.swg: POD for new element + * perl/Amanda/XferDevice.swg: wrap new element + * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE 2009-04-07 Jean-Louis Martineau * client-drc/sendbackup.c: Init result. @@ -159,15 +4985,68 @@ * application-src/amgtar.c: Don't update statefile if the backup failed. * client-drc/sendbackup.c: Don't update amandates if backup failed. +2009-04-07 Jean-Louis Martineau + * man/xml-source/amanda-changers.7.xml: Document changerfile for + chg-disk. + 2009-04-03 Dustin J. Mitchell * perl/Amanda/Changer/compat.pm: always configure devices while scanning * server-src/amcheckdump.pl: configure devices returned from the changer -2009-04-01 Nikolas Coukouma - * device-src/s3.c: don't send empty location constraint, - allocate error messages +2009-04-03 Jean-Louis Martineau + * application-src/amsamba.pl: Allow empty username. + * man/xml-source/amsamba.8.xml: Document empty username and password. + +2009-04-03 Jean-Louis Martineau + * common-src/security-util.c: Fix isdigit use. + +2009-04-03 Jean-Louis Martineau + * common-src/conffile.c: New client_port option. + * common-src/conffile.h: New client_port option. + * man/xml-source/amanda-auth.7.xml, + man/xml-source/amanda-client.conf.5.xml, + man/xml-source/amanda.conf.5.xml: New client_port option. + * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT. + * common-src/bsd-security.c, + common-src/bsdtcp-security.c, + common-src/bsdudp-security.c: Use client_port option. + * common-src/security-util.c: New find_port_for_service function. + * common-src/security-util.h: Prototype for find_port_for_service. + * installcheck/Amanda_Config.pl: Check reaad_int_or_str function. + * recover-src/amrecover.c: Remove amindexd_client_get_security_conf. + * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf + * server-src/amadmin.c (disklist_one): Print client_port. + * server-src/amcheck.c: Fix remote_errors; + * server-src/diskfile.h (disk_t): Add client_port. + * server-src/diskfile.c: Set client_port. + * server-src/driverio.c: Send client_port to dumper. + * server-src/dumper.c: Parse client_port. + * server-src/server_util.c: return client_port. + +2009-04-03 Nikolas Coukouma + * device-src/s3-device.c, installcheck/Amanda_Device.pl: + don't require location-compatible name for ignored value + +2009-04-03 Jean-Louis Martineau + * application-src/amsamba.pl: Allow empty password. + * perl/Amanda/Util.swg: Small fix in skip_quoted_string. + * installcheck/Amanda_Util.pl: Check skip_quoted_string fix. + +2009-04-02 Jean-Louis Martineau + * server-src/amstatus.pl: prefix error message with "backup failed:" + if a dump to holding disk failed. + +2009-04-02 Jean-Louis Martineau + * server-src/amstatus.pl: Print a taper status. + * server-src/taper.c: Quote TAPE-ERROR reply. + +2009-04-02 Dustin J. Mitchell + * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client" + +2009-04-02 Jean-Louis Martineau + * application-src/amsamba.pl: Typo. 2009-04-01 Dustin J. Mitchell * device-src/s3-device.c: always send errors from setup_handle @@ -175,85 +5054,463 @@ 2009-04-01 Nikolas Coukouma * device-src/s3-device.c: don't clobber errors from setup_handle +2009-04-01 Nikolas Coukouma + * NEWS: Note change to Amazon S3, add ampgsql + 2009-03-31 Jean-Louis Martineau * server-src/amcheck.c: Set l on error path. +2009-03-31 Nikolas Coukouma + * device-src/s3.c: don't send empty location constraint, + allocate error messages, fix constraint check in case of wildcard + * installcheck/Amanda_Device.pl: actually test location constraints + +2009-03-31 Nikolas Coukouma + * application-src/ampgsql.pl: add newline to end of index entry + +2009-03-31 Jean-Louis Martineau + * application-src/amsamba.pl: Set $self->{mesgout} before calling + method that use it. + 2009-03-31 Jean-Louis Martineau - * perl/Amanda/Changer/compat.pm: Don't import :logging from Debug. + * application-src/Makefile.am: Remove amgtar_perl. + * application-src/amgtar_perl.pl: Remove file. + +2009-03-30 Jean-Louis Martineau + * man/xml-source/amsamba.8.xml: Document amandapass file location. + +2009-03-30 Jean-Louis Martineau + * application-src/amsamba.pl: allow relative AMANDAPASS property. + * man/xml-source/amsamba.8.xml: Document amandapass file location. + * ReleaseNotes: amsamba + +2009-03-30 Jean-Louis Martineau + * server-src/amcheck.c: exit(1) if match_disklist() return an error. + * server-src/planner.c: Better logging if match_disklist() return an + error. 2009-03-30 Jean-Louis Martineau - * packaging/deb/changelog, packaging/deb/rules, - * packaging/deb/buildpkg, packaging/rpm/buildpkg, - * packaging/rpm/amanda.spec: Change version to 2.6.1p1. - * NEWS: Add news for 2.6.1p1. - * configure.in: Change version to 2.6.1p1. + * server-src/planner.c: Use new one_est_t, + print warning for server guessed estimate. -2009-03-29 Dan Locks +2009-03-29 Dan Locks * packaging/rpm/amanda.spec: change a number of %if conditionals to macros which expand if they are defined. -2009-03-25 Dustin J. Mitchell - * device-src/s3.c: fix segfault in s3_make_bucket with location - constraint +2009-03-29 Nikolas Coukouma + * man/xml-source/amanda-devices.7.xml: add more notes -2009-03-19 Dustin J. Mitchell - (thanks to Peter Kunst ) - * common-src/Makefile.am: don't include genversion.h in distribution - tarballs +2009-03-27 Nikolas Coukouma + * device-src/s3.c, installcheck/Amanda_Device.pl: + ignore s3_bucket_location if set to "", pass "*" as "" (wildcard), + pass others as-is -2009-03-19 Dustin J. Mitchell - * xfer-src/Makefile.am: add -release to libamxfer +2009-03-27 Dustin J. Mitchell + * installcheck/Amanda_Util.pl: fix warning + * perl/Amanda/Util.swg: fix typos -2009-03-17 Jean-Louis Martineau - * server-src/amlabel.c: give correct exit status on failure +2009-03-27 Nikolas Coukouma + * application-src/ampgsql.pl, installcheck/ampgsql.pl: + use a different dummy entry -2009-03-13 Jean-Louis Martineau - * server-src/amstatus.pl: dump in "writing to tape" mode should also - be included in the "dumped" summary. +2009-03-27 Jean-Louis Martineau + * recover-src/extract_list.c: Add --level argument to application. -2009-03-13 Jean-Louis Martineau - * server-src/find.c: Fix listing of partial dump in holding disk. +2009-03-27 Jean-Louis Martineau + * application-src/amsuntar.pl: Check for 'symbolic link' in index. -2009-03-12 Jean-Louis Martineau - * server-src/planner.c: Log quoted qname. +2009-03-27 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard. -2009-03-11 Dustin J. Mitchell - * device-src/amtapetype.pl: do not produce broken 'bytes' units - * installcheck/amtapetype.pl: test changes - * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes! - * common-src/conffile.c: fix default for tapetype:length +2009-03-26 Nikolas Coukouma + * installcheck/Amanda_Device.pl: fix test counts + * installcheck/Amanda_Util.pl: fix shadow variable warning -2009-03-11 Dustin J. Mitchell - * common-src/amfeatures.c: improve error handling in - am_string_to_feature, return NULL on error - * amandad-src/amandad_util.c recover-src/amrecover.c - server-src/amcheck.c server-src/amindexd.c server-src/chunker.c - server-src/driver.c server-src/dumper.c server-src/planner.c: always - terminate the string passed to am_string_to_feature +2009-03-26 Nikolas Coukouma + * device-src/s3.c: ignore empty s3_user_token + * installcheck/Amanda_Device.pl: test empty s3_user_token -2009-03-11 Dustin J. Mitchell - * common-src/amfeatures.c: fix am_string_to_feature to fail correctly - on a bad feature string +2009-03-26 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: document new estimate changes made + 2009-02-04 + +2009-03-26 Jean-Louis Martineau + * server-src/planner.c: Remove logging of guessed estimate. + +2009-03-26 Jean-Louis Martineau + * client-src/sendsize.c: Typo. + +2009-03-25 Jean-Louis Martineau + * application-src/ampgsql.pl: Add command_validate. + * application-src/amgtar_perl.pl, application-src/amsamba.pl, + application-src/amsuntar.pl: Sanity check for command_validate. + * perl/Amanda/Application.swg: Add a default_validate function. + * perl/Amanda/Script_App.pm: Execute defulat_validate if + command_validate is not defined. + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add a 'cmp' operator for + Amanda::Changer::Error objects, to make testing easier + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add Amanda::Changer::Error + class to give more detail in changer errors + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/single.pm: use it + * changer-src/chg-glue.pl: handle new errors + * installcheck/Makefile.am installcheck/Installcheck/Changer.pm: + (chg_err_like) utility function + * installcheck/Amanda_Changer.pl + installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl: change tests + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Changer.pm: remove unused import() and export() + +2009-03-25 Dustin J. Mitchell + * device-src/s3.c: fix segfault in s3_make_bucket with location + constraint + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Util.swg: add full_read and full_write + * installcheck/Amanda_Util.pl: test 'em + +2009-03-25 Jean-Louis Martineau + * application-src/amsuntar.pl: Generate valid index stream. + +2009-03-24 Nikolas Coukouma + * man/xml-source/amanda-applications.7.xml, + man/xml-source/amanda.8.xml: add missing references to applications + +2009-03-24 Nikolas Coukouma + * application-src/ampgsql.pl: older versions of perl don't like + mixing functions and export tags + +2009-03-24 Nikolas Coukouma + * application-src/ampgsql.pl, installcheck/ampgsql.pl: + generate more-complete index, improve debugging and error handling + +2009-03-24 Jean-Louis Martineau + * common-src/conffile.c: Fix line counting, Remove check for plugin. + * server-src/diskfile.c: Add check for plugin. + +2009-03-24 Jean-Louis Martineau + * server-src/planner.c: Default server estimate not larger than half + a tape. log a warning. + +2009-03-24 Jean-Louis Martineau + * application-src/amsamba.pl: Fix typo and check if smbclient is set. + +2009-03-24 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: + Do sanity check if required arguments are not provided. + +2009-03-23 Nikolas Coukouma + * AUTHORS: remove "active" status if not committed in over 2 years + * ChangeLog: clean up some messiness + * contrib/changelog_parse.pl: simple parser for ChangeLog + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c: Add NO-UNQUOTE to restore. + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + client-src/sendbackup-gnutar.c, client-src/sendsize.c, + recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments. + * application-src/amgtar.c: add NO-UNQUOTE property. + * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property. + +2009-03-23 Nikolas Coukouma + * application-src/ampgsql.pl, installcheck/ampgsql.pl: + fix ampgsql installchecks + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + client-src/sendbackup-gnutar.c, client-src/sendsize.c, + recover-src/extract_list.c: Add '--no-unquote' to gtar arguments. + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c, + client-src/client_util.c, client-src/client_util.h, + client-src/selfcheck.c, client-src/sendbackup-gnutar.c, + client-src/sendbackup.c, client-src/sendsize.c, + common-src/conffile.c, common-src/conffile.h, + common-src/util.c, oldrecover-src/extract_list.c, + recover-src/extract_list.c, + server-src/server_util.c: Use GPtrArray instead of my_argv[]. + +2009-03-23 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml: + Document the fact that: The { must appear at the end of a line, + and the } on its own line. + +2009-03-21 Jean-Louis Martineau + * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match. + +2009-03-20 Jean-Louis Martineau + * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o + * recover-src/amrecover.h: Add verbose to many prototype. + * recover-src/extract_list.c: Allow to use path for many command. + * recover-src/set_commands.c: Add verbose to many function. + * recover-src/uparse.y, recover-src/uscan.l: Improve parser. + +2009-03-19 Dustin J. Mitchell + (thanks to Peter Kunst ) + * common-src/Makefile.am: don't include genversion.h in distribution + tarballs + +2009-03-19 Jean-Louis Martineau + * man/Makefile.am: Add .SECONDARY target. + +2009-03-19 Dustin J. Mitchell + * man/xslt/expand-sambadoc.xsl: + * man/entities/global.entities.in + man/xml-source/*.xml: add a handy tag and a tag + for 'SEE ALSO' sections + * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times" + symbol; tweak tapecycle description + +2009-03-19 Dustin J. Mitchell + * xfer-src/Makefile.am: add -release to libamxfer + +2009-03-18 Nikolas Coukouma + * server-src/amrmtape.pl, installcheck/amrmtape.pl: + re-label tapes if we --erase them and --keep-label is present + +2009-03-18 Jean-Louis Martineau + * installcheck/Amanda_Process.pl: Fix for OS return perl. + +2009-03-18 Jean-Louis Martineau + * perl/Amanda/Process.pm: Better match of argument. + Match 'perl' to any process name. + +2009-03-18 Jean-Louis Martineau + * installcheck/Amanda_Process.pl: Check second argument if first + argument start with a dash. + * perl/Amanda/Process.pm: The process name is now returned, not perl. + +2009-03-18 Jean-Louis Martineau + * man/xml-source/amrmtape.8.xml: Fix. + * perl/Amanda/Process.pm: Find the process name if it is a perl script. + * server-src/amrmtape.pl: Check and create the "log" file if --erase. + +2009-03-18 Nikolas Coukouma + * application-src/ampgsql.pl: fix numerous bugs, improve debug info + +2009-03-17 Jean-Louis Martineau + * application-src/amgtar.c: fix typo causing check-device to be + interpreted incorrectly + +2009-03-17 Dustin J. Mitchell + * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease + implementation of the info() method + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/single.pm: use them + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl: + test the results + +2009-03-17 Jean-Louis Martineau + * server-src/amlabel.c: give correct exit status on failure + +2009-03-13 Jean-Louis Martineau + * server-src/amstatus.pl: dump in "writing to tape" mode should also + be included in the "dumped" summary. + +2009-03-13 Jean-Louis Martineau + * server-src/find.c: Fix listing of partial dump in holding disk. + +2009-03-12 Jean-Louis Martineau + * installcheck/amreport.pl: New file. + +2009-03-12 Jean-Louis Martineau + * common-src/columnar.c: New defaults, allow precision to be set. + * man/xml-source/amanda.conf.5.xml: Document new columnspec format. + * installcheck/Installcheck/Config.pm: Always set org to "DailySet1". + * installcheck/Makefile.am: add amreport. + * installcheck/amreport.pl: Check different value of columnspec. + * installcheck/Amanda_Config.pl: Check with dumporder instead of org. + +2009-03-12 Jean-Louis Martineau + * server-src/planner.c: Log quoted qname. + +2009-03-11 Dustin J. Mitchell + * device-src/amtapetype.pl: do not produce broken 'bytes' units + * installcheck/amtapetype.pl: test changes + * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes! + * common-src/conffile.c: fix default for tapetype:length + +2009-03-11 Dustin J. Mitchell + * common-src/amfeatures.c: improve error handling in + am_string_to_feature, return NULL on error + * amandad-src/amandad_util.c recover-src/amrecover.c + server-src/amcheck.c server-src/amindexd.c server-src/chunker.c + server-src/driver.c server-src/dumper.c server-src/planner.c: always + terminate the string passed to am_string_to_feature 2009-03-10 Jean-Louis Martineau * server-src/taper.c: return DONE if input file is partial. +2009-03-10 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO + value for boolean properties. + +2009-03-10 Jean-Louis Martineau + * server-src/amstatus.pl: Print "failed: process terminated while" for + dead run. Change "wait for" for "waiting for". + +2009-03-10 Jean-Louis Martineau + * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated. + * man/xml-source/amstar.8.xml: Document it. + 2009-03-10 Dustin J. Mitchell * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1. +2009-03-09 Nikolas Coukouma + * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML + +2009-03-09 Nikolas Coukouma + * application-src/ampgsql.pl: + set environment variables when running psql (from selfcheck) + +2009-03-07 Nikolas Coukouma + * application-src/ampgsql.pl: add selfcheck to ampgsql + +2009-03-06 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: replace die() with a proper error + return + +2009-03-06 Dustin J. Mitchell + * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4 + config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4 + configure.in: upgrade to libtool-2.2.4 + +2009-03-06 Dustin J. Mitchell + * restore-src/restore.c: remove incorrect assertion + +2009-03-06 Dustin J. Mitchell + * common-src/amfeatures.c: fix am_string_to_feature to fail correctly + on a bad feature string + +2009-03-06 Dustin J. Mitchell + * Makefile.am: always build xfer-src, on client or server + * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am + device-src/xfer-device.h device-src/xfer-dest-device.c + device-src/xfer-source-device.c: move device-specific xfer elts to + device-src + * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c: + generic glue + * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg: + only import server-specific symbols if they are available + * installcheck/Makefile.am installcheck/Amanda_Xfer.pl + installcheck/Amanda_Xfer_serveronly.pl: split into general and + server-specific checks + +2009-03-05 Nikolas Coukouma + * application-src/ampgsql.pl: use older-style ( + * installcheck/Amanda_Device.pl: only perform property tests when we + have a working S3 device; and get test counts right + +2009-03-05 Dustin J. Mitchell , Nikolas Coukouma + * man/xml-source/amanda.conf.5.xml, + man/xml-source/amanda-devices.7.xml, + installcheck/Amanda_Config.pl, + installcheck/Amanda_Device.pl, + common-src/util.c, + common-src/glib-util.c, + common-src/conffile.c, + common-src/conffile.h: + be consistent in the various names for 'true' and 'false' we allow, + specifically in device properties + +2009-03-05 Nikolas Coukouma + * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs + while backing up data dir + +2009-03-05 Nikolas Coukouma + * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml: + make ampgsql use runtar (so it can access PostgreSQL's files) + +2009-03-04 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: add a slot-name shorthand + * installcheck/Amanda_Changer_rait.pl: test it + * man/xml-source/amanda-changers.7.xml: document it + +2009-03-04 Dustin J. Mitchell + * device-src/rait-device.c: fix failure when parity (last) child + has failed + * installcheck/Amanda_Device.pl: test the fix + +2009-03-04 Dustin J. Mitchell + * changer-src/chg-glue.pl: add debugging + * perl/Amanda/Changer/compat.pm: add debugging + +2009-03-03 Nikolas Coukouma + * application-src/ampgsql.pl: don't hang if .backup file never appears + +2009-03-02 Nikolas Coukouma + * example/amanda-client-postgresql.conf.in: + update example and make it more complete + +2009-03-02 Nikolas Coukouma + * application-src/ampgsql.pl, + man/xml-source/ampgsql.8.xml: cleanup old WAL files + +2009-03-02 Nikolas Coukouma + * installcheck/amrmtape.pl, + server-src/amrmtape.pl: zero datestamp with --keep-label + +2009-03-01 Nikolas Coukouma + * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag + 2009-02-27 Jean-Louis Martineau * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property. -2009-02-24 Dustin J. Mitchell - * changer-src/chg-rait.sh: get directory handling right (patch from - Jim.pennino on wiki.zmanda.com) - * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix - do_eject - * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a - volume that's not currently reserved - * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current' - after cleaning or ejecting - * installcheck/Amanda_Changer_compat.pl: updated tests +2009-02-27 Dustin J. Mitchell + * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too + +2009-02-26 Dustin J. Mitchell + * restore-src/restore.c: if the changer does not provide a device, + use the configured tapedev + +2009-02-26 Dan Locks + * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1 + rpm builds will be broken for a bit longer in trunk + +2009-02-26 Nikolas Coukouma + * application-src/amgtar_perl.pl, + application-src/amlog-script.pl, + application-src/ampgsql.pl, + application-src/amsamba.pl, + application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl, + application-src/amzfs-snapshot.pl, + application-src/script-email.pl, + perl/Amanda/Application.swg, + perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm: + load config-name/amanda-client.conf as well as amanda-client.conf + +2009-02-26 Nikolas Coukouma + * application-src/ampgsql.pl, + installcheck/amgtar.pl, + installcheck/ampgsql.pl: use $@ to get eval errors (not $!) + +2009-02-25 Nikolas Coukouma + * application-src/amoracle.pl, + application-src/ampgsql.pl, + example/amanda-client-oracle.conf.in, + example/amanda-client-postgresql.conf.in, + installcheck/ampgsql.pl, + man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties + in line with conventions 2009-02-24 Jean-Louis Martineau * amandad-src/amandad.c, application-src/amgtar.c, @@ -270,23 +5527,209 @@ 2009-02-24 Nikolas Coukouma * device-src/s3.c: fix error buffer handling of overflow data +2009-02-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE + property + +2009-02-24 Nikolas Coukouma + * man/xml-source/ampgsql.8.xml, + man/xml-source/amsamba.8.xml, + man/xml-source/amstar.8.xml, + man/xml-source/amsuntar.8.xml: + document the mapping of configure options to default application + property values + 2009-02-23 Dustin J. Mitchell * device-src/rait-device.c: actually *report* mismatched child labels/timestamps; correctly detect the 'first' device; and free old device label/time 2009-02-23 Dustin J. Mitchell - * device-src/vfs-device.c: remove bogus locking stubs that are - making syscalls like close(-1); fix error handling in read_label - if check_is_dir fails() + * server-src/driver.c: improve confusing out-of-tapes error message + +2009-02-20 Jean-Louis Martineau + * server-src/changer.c: if changer_find is used to search for a + specific tape, do not try a redundant manual scan after the + search fails + +2009-02-20 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk' + directory to test dumps + +2009-02-20 Dustin J. Mitchell + * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl + installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl + installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm + installcheck/Installcheck/Config.pm + installcheck/Installcheck/Dumpcache.pm + installcheck/Installcheck/Run.pm installcheck/Makefile.am + installcheck/amarchiver.pl installcheck/amfetchdump.pl + installcheck/amgetconf.pl installcheck/amgtar.pl + installcheck/ampgsql.pl installcheck/amservice.pl + installcheck/amstatus.pl installcheck/pp-scripts.pl: use a + subdirectory of AMANDA_TMPDIR for installcheck temporary files + +2009-02-20 Dustin J. Mitchell + * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout + * amar-src/amar-test.c common-src/amflock-test.c + common-src/event-test.c common-src/queueing-test.c + common-src/quoting-test.c common-src/semaphore-test.c + device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts + drastically + +2009-02-20 Dustin J. Mitchell + * common-src/conffile.c: change the default changerfile to + $CONFIG_DIR/changer + +2009-02-20 Dustin J. Mitchell + * device-src/property.c device-src/property.h: add PROPERTY_COMMENT + * device-src/device.c: support PROPERTY_COMMENT + * installcheck/Amanda_Device.pl: test it + * man/xml-source/amanda-devices.7.xml: document it + +2009-02-20 Jean-Louis Martineau + * common-src/conffile.c: Add t, tb, tera, ... suffix. + * man/xml-source/amanda.conf.5.xml: Document it. + +2009-02-19 Nikolas Coukouma + * example/amanda-client-postgresql.conf.in, + example/Makefile.am, + man/Makefile.am, + man/xml-source/ampgsql.8.xml, + configure.in, + application-src/Makefile.am, + application-src/ampgsql.pl, + installcheck/Makefile.am, + installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql) + * installcheck/Installcheck/Application.pm: + fix property names in case of underscores + * installcheck/Installcheck/Run.pm: + if application starts with /, don't assume it's in sbin 2009-02-19 Dustin J. Mitchell - * perl/Amanda/Changer/compat.pm: add missing semicolon in do_release + * perl/Amanda/Util.swg: move POD to the top of the file, refomat + +2009-02-19 Dustin J. Mitchell + * common-src/util.h common-src/util.c: remove unneeded needs_quotes + +2009-02-19 Dustin J. Mitchell + * installcheck/Amanda_Types.pl + installcheck/Amanda_Header.pl: rename Amanda::Types to + Amanda::Header, add to_string and from_string methods + * common-src/fileheader.c: fix bug in returned size + * device-src/amtapetype.pl installcheck/Amanda_Device.pl + installcheck/Amanda_Xfer.pl installcheck/Makefile.am + perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg + perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use + Amanda::Header + +2009-02-19 Dustin J. Mitchell + * common-src/Makefile.am common-src/queue.h: remove file + * amandad-src/amandad.c common-src/alloc.c + common-src/bsdtcp-security.c common-src/krb5-security.c + common-src/local-security.c common-src/rsh-security.c + common-src/security-util.c common-src/security-util.h + common-src/ssh-security.c: remove includes and replace TAILQ with + GSList + +2009-02-18 Jean-Louis Martineau + * config/amanda/krb4-security.m4: Remove file + * common-src/krb4-security.c: Remove file. + * example/config.site, example/amanda.conf.in, + client-src/client_util.c, amandad-src/amandad.c, + man/xml-source/amanda-client.conf.5.xml, + man/xml-source/amanda.conf.5.xml, + man/xml-source/amgetconf.8.xml, + configure.in, server-src/dumper.c, + server-src/diskfile.c, perl/Amanda/Constants.pm.in, + installcheck/Amanda_Config.pl, common-src/amfeatures.h, + common-src/security.c, common-src/security.h, + common-src/genversion.c, common-src/amgetconf.pl, + common-src/conffile.c, common-src/Makefile.am, + common-src/amfeatures.c: Remove krb4 support. + +2009-02-18 Dustin J. Mitchell + * perl/Amanda/Debug.swg: correctly check $^S in _my_die() + +2009-02-18 Dustin J. Mitchell + * common-src/debug.h common-src/debug.c: add ability to supporess + tracebacks + * perl/Amanda/Debug.swg: fix typo and suppress traceback on die() + +2009-02-18 Dustin J. Mitchell + * perl/Makefile.am: actually install Amanda::Change::rait + +2009-02-18 Dustin J. Mitchell + * common-src/util.c: add missing 'const' + +2009-02-18 Dustin J. Mitchell + * common-src/util.c common-src/util.h device-src/rait-device.c + perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move + expand_braced_alternates and collapse_braced_alternates out of + rait-device.c and into util.c, and make them available from Perl + * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Makefile.am: new changers + * installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new + changers + * changer-src/Makefile.am changer-src/chg-null.sh + changer-src/chg-rait.sh: remove old scripts + * man/xml-source/amanda-changers.7.xml + man/xml-source/amanda-devices.7.xml: update documentation 2009-02-18 John Hein * common-src/dgram.c: set the send buffer size when creating a new socket +2009-02-18 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg: + change PP_SCRIPT to SCRIPT, to match the name of the config param + * server-src/diskfile.c installcheck/Amanda_Config.pl: + use new symbols + +2009-02-18 Dustin J. Mitchell + * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts + and applications + +2009-02-18 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h: use a simple + identlist_t for pp_scripts + * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h + server-src/server_util.c: use identlist_t's + +2009-02-18 Dustin J. Mitchell + * perl/Amanda/Config.swg: perl bindings + +2009-02-18 Jean-Louis Martineau + * common-src/conffile.c common-src/conffile.h: Change + DUMPTYPE_APPLICATION to give a string val_t; remove the + pointer-to-application val_t subtype; also fix many + memory leaks and simplify memory management + * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c + server-src/diskfile.c server-src/diskfile.h server-src/driverio.c + server-src/planner.c: use new val_t result correctly + +2009-02-18 Jean-Louis Martineau + * client-src/selfcheck.c: Do dle check without disk. + * common-src/amxml.c: Accept a dle without a disk. + * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c, + application-src/amgtar_perl.pl, + application-src/amsamba.pl, application-src/amstar.c, + application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl, + application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if + a disk is not provided. + +2009-02-18 Jean-Louis Martineau + patch by glowkrantz + * application-src/amzfs-sendrecv.pl: Use compression ratio for + compressed filesystem. + +2009-02-18 Jean-Louis Martineau + * server-src/amdump.sh: Check if planner/driver are executable and + log error. + 2009-02-17 Dustin J. Mitchell * restore-src/amfetchdump.c: remove unintended debugging messages @@ -296,6 +5739,53 @@ _manual_scan * server-src/amcheckdump.pl: handle errors better +2009-02-17 Dustin J. Mitchell + * changer-src/chg-manual.sh: make messages clearer + * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from + _manual_scan + * server-src/amcheckdump.pl: handle errors better + +2009-02-17 Jean-Louis Martineau + * recover-src/extract_list.c: Set all_level with level_t. + +2009-02-17 Dustin J. Mitchell + * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from + Jose Hales-Garcia + +2009-02-12 Jean-Louis Martineau + * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN. + * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and + NONBLOCKING_OPEN property. + * device-src/tape-device.h (TapeDevice): Add nonblocking_open. + * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN + property. + * server-src/amdevcheck.pl: Call $device->configure(1). + +2009-02-11 Dustin J. Mitchell + * changer-src/chg-rait.sh: get directory handling right (patch from + Jim.pennino on wiki.zmanda.com) + * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix + do_eject + * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a + volume that's not currently reserved + * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current' + after cleaning or ejecting + * installcheck/Amanda_Changer_compat.pl: updated tests + +2009-02-11 Dustin J. Mitchell + * perl/Makefile.am: add a version number to libamglue + +2009-02-10 Dustin J. Mitchell + * restore-src/restore.c: fix incorrect assertion + +2009-02-10 Dustin J. Mitchell + * config/amanda/debugging.m4: fix --disable-syntax-checks + +2009-02-09 Dustin J. Mitchell + * config/amanda/debugging.m4: add --disable-syntax-checks + * config/automake/scripts.am: disable them + * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS + 2009-02-09 Dustin J. Mitchell * man/xml-source/amanda.conf.5.xml: remove TODO @@ -320,30 +5810,151 @@ * perl/Amanda/Changer/disk.pm: same * perl/Amanda/Changer/single.pm: same -2009-01-13 Dustin J. Mitchell - * perl/Amanda/Paths.pm.in: add $localstatedir - * server-src/amserverconfig.pl: remove extraneous / +2009-02-04 Jean-Louis Martineau + * common-src/conffile.h: Add ES_ES. + * common-src/conffile.c: Handle ES_ES in switch. + * server-src/amadmin.c: Handle ES_ES in switch. + * client-src/sendsize.c: Works with many multiple estimate method. + * server-src/planner.c: Works with many multiple estimate method. + +2009-02-04 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + application-src/amsamba.pl, application-src/amstar.c, + application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line. + * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line. + * client-src/client_util.h: New field to keep its value. + +2009-02-04 Jean-Louis Martineau + * common-src/amfeatures.c, + common-src/amfeatures.h: And fe_xml_level_server amfeature. + * common-src/amxml.c: parse tag in level tag. + * server-src/planner.c: Send tag, + Move estimate server calculation to its own function. + +2009-02-04 Jean-Louis Martineau + * client-src/client_util.c, client-src/sendbackup-gnutar.c, + client-src/sendbackup.c, client-src/sendbackup-dump.c, + client-src/sendsize.c, + client-src/selfcheck.c, recover-src/extract_list.c, + common-src/amxml.c, + common-src/amxml.h: Change Change dle->level for dle->levellist, + each element is a level_t struct. 2009-02-04 Jean-Louis Martineau * amplot/amplot.awk: Set term to x11. +2009-02-04 Jean-Louis Martineau + * common-src/amfeatures.h: Add fe_xml_estimatelist feature. + * common-src/amfeatures.c: Add fe_xml_estimatelist feature. + * common-src/amxml.c: Parse multiple estimate value. + * common-src/amxml.h: Change estimate for estimatelist in dle_t. + * server-src/diskfile.h (xml_estimate): Protoype. + * server-src/diskfile.c (xml_estimate): New function. + * server-src/amcheck.c: Use xml_estimate. + * server-src/planner.c: Use xml_estimate. + * client-src/sendbackup.c, client-src/sendsize.c, + client-src/selfcheck.c: Use first estimate in estimatelist. + 2009-02-02 Jean-Louis Martineau * common-src/conffile.c: Correctly copy pp_scriptlist. -2009-02-02 Dustin J. Mitchell +2009-02-02 Jean-Louis Martineau + * server-src/amstatus.pl: Remove a bogus line. + +2009-01-30 Dustin J. Mitchell + * man/xml-source/amrmtape.8.xml: clarify meaning of --erase + +2009-01-30 Jean-Louis Martineau + * recover-src/amrecover.c: Always print error. + * server-src/amindexd.c: read stderr of uncompress and sort process, + put the result in a GPtrArray, send the complete array to amrecover. + +2009-01-30 Jean-Louis Martineau + * common-src/conffile.c: Typo. + +2009-01-30 Jean-Louis Martineau + * common-src/conffile.c, common-src/conffile.h, + server-src/diskfile.h, server-src/amcheck.c, + server-src/planner.c, server-src/amadmin.c, + server-src/diskfile.c, perl/Amanda/Config.swg, + installcheck/Amanda_Config.pl: Use a list of estimate. + +2009-01-30 Jean-Louis Martineau + * common-src/conffile.c, common-src/conffile.h, + server-src/amcheck.c, server-src/holding.c, + server-src/driver.c, perl/Amanda/Config.swg, + installcheck/Amanda_Config.pl: 'define' keyword is use only to define + an holding disk, you must use 'holdisgdisk' without 'define' if you + want to use it. + +2009-01-29 Dustin J. Mitchell * config/config.guess config/config.sub: new updates from FSF + +2009-01-29 Benjamin Lewis * autogen: fix quoting error * config/amanda/dumpers.m4: use a hostname we're more confident doesn't exist -2009-01-30 Jean-Louis Martineau - * server-src/amstatus.pl: Remove a bogus line. - -2009-01-22 Jean-Louis Martineau - * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1") - * packaging/deb/rules, packaging/deb/buildpkg, packaging/deb/changelog, - packaging/rpm/buildpkg, - packaging/rpm/amanda.spec: Change version to 2.6.1. +2009-01-28 Dustin J. Mitchell + * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg + perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg + perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos + +2009-01-28 Dustin J. Mitchell + * common-src/conffile.c: support "." as a config name, indicating + "this directory" + * changer-src/chg-lib.sh.in: use that support to run amdevcheck in + old-school changer shell scripts + * man/xml-source/amanda.8.xml: docs + * perl/Amanda/Config.swg: docs + +2009-01-28 Nikolas Coukouma + * installcheck/Makefile.am: do not run client software checks --without-client + +2009-01-28 Jean-Louis Martineau + * config/automake/scripts.am: Fix another get line numbers right when + syntax-checking perl scripts + +2009-01-27 Nikolas Coukouma + * installcheck/Installcheck/Application.pm: make sure all data is read + * installcheck/amgtar.pl: check if GNU tar is present, + avoid using atime-preserve, make sure reported and actual size match + +2009-01-27 Dustin J. Mitchell + * installcheck/amgtar.pl: fix typo + +2009-01-27 Nikolas Coukouma + * installcheck/Installcheck/Application.pm: Add Installcheck::Application + harness for running things via the Application API + * installcheck/amgtar.pl: Add installchecks for amgtar + * installcheck/Makefile.am: Add files to build and distribution + +2009-01-26 Dustin J. Mitchell + * config/automake/scripts.am: get line numbers right when + syntax-checking perl scripts + +2009-01-26 Satya Ganga + * xml-source/amsuntar.8.xml : Update man page with RBAC info + * application-src/amsuntar.pl : Adding support for estimate + +2009-01-23 Dustin J. Mitchell + * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header, + used by the tape device + * device-src/tape-device.c: enable appending, using F_NOOP when + necessary to avoid writing a double filemark + * installcheck/Amanda_Device.pl: new tests + +2009-01-22 Dustin J. Mitchell + * common-src/fileheader.c common-src/fileheader.h + device-src/device.c device-src/device.h: make header- + building more flexible, allowing varying sizes + * device-src/s3-device.c: use the new flexibility to write only the + header data necessary to S3 + * device-src/tape-device.c device-src/vfs-device.c + restore-src/restore.c server-src/chunker.c server-src/dumper.c + server-src/holding.c: use new function signatures, without changing + functionality 2009-01-22 Jean-Louis Martineau * man/xml-source/amstar.8.xml: Typo. @@ -369,14 +5980,11 @@ * packaging/rpm/amanda.spec: detect and properly support suse11.1, with a temporary hack to support suse11, too -2009-01-21 Jean-Louis Martineau - * packaging/rpm/amanda.spec: Typo. - 2009-01-21 Jean-Louis Martineau * server-src/amstatus.pl: Fix use of %free and %qlen keys. 2009-01-20 Dan Locks - * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize + * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize libtermcap.so.2 for fedora, change tar requirement to %{tarver} 2009-01-20 Dan Locks @@ -387,6 +5995,17 @@ 2009-01-19 Jean-Louis Martineau * server-src/diskfile.c: Use dp->hostnext to scan dles of a host. +2009-01-19 Satya Ganga + * application-src/amsuntar.pl : New amsuntar application + * application-src/Makefile.am : Make file updates to include amsuntar + * man/entities/global.entities.in : Add to gsat to the name list + * man/Makefile.am man/xml-source/amsuntar.8.xml : add new man amsuntar man page + +2009-01-19 Dustin J. Mitchell + * device-src/vfs-device.c: remove bogus locking stubs that are + making syscalls like close(-1); fix error handling in read_label + if check_is_dir fails() + 2009-01-19 Jean-Louis Martineau * device-src/vfs-device.c: robust_open can return fd 0. @@ -409,15 +6028,21 @@ 2009-01-16 Dan Locks * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros +2009-01-16 Jean-Louis Martineau + * packaging/rpm/amanda.spec: Fix for fedora 10. + 2009-01-16 Dustin J. Mitchell * device-src/vfs-device.c: don't cache the dir_handle, as such caching does not work on some network filesystems -2009-01-16 Jean-Louis Martineau - * packaging/rpm/amanda.spec: Fix for fedora 10. +2009-01-16 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: add documentation + of inheritance for config sections 2009-01-16 Dustin J. Mitchell - * device-src/amtapetype.pl: remove call to old device function + * device-src/amtapetype.pl: add a 'config' parameter + * man/xml-source/amtapetype.8.xml: documentation + * installcheck/amtapetype.pl: test with a small vtape 2009-01-16 Jean-Louis Martineau * server-src/driver.c: Use bitwise NOT for taper_state. @@ -436,6 +6061,15 @@ * application-src/amgtar.c: Add TAR-BLOCKSIZE property. * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property. +2009-01-13 Dustin J. Mitchell + * perl/Amanda/Paths.pm.in: add $localstatedir + * server-src/amserverconfig.pl: remove extraneous / + +2009-01-13 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for + defining an holdingdisk. + * common-src/conffile.c: Document it. + 2009-01-13 Jean-Louis Martineau * server-src/amcheck.c: Check fallback_splitsize is smaller than physmem_total(). @@ -456,9 +6090,11 @@ 2009-01-08 Jean-Louis Martineau * restore-src/amfetchdump.c: Write to stderr. -2009-01-06 Jean-Louis Martineau +2009-01-06 Jean-Louis Martineau , + Dustin J. Mitchell * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE after it is use. + * installcheck/Amanda_Device.pl: Add more tape check. 2009-01-06 Jean-Louis Martineau * server-src/taper.c: Don't call changer_label() if a changer is not @@ -478,22 +6114,16 @@ perl/Amanda/Xfer.swg: Fix compiler warning. 2009-01-05 Jean-Louis Martineau - * config/automake/scripts.am: Remove 'use lib' line before doing check. - -2008-12-22 Jean-Louis Martineau - * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b2") - * packaging/deb/rules, packaging/deb/buildpkg, - packaging/deb/changelog, packaging/rpm/buildpkg, - packaging/rpm/amanda.spec: Change version to 2.6.1b2. + * config/automake/scripts.am: Remove 'use lib' line before doing check. 2008-12-22 Paul Yeatman * man/entities/global.entities.in: added author/email entity for me * man/xml-source/amanda-auth.7.xml: newly added man page * man/Makefile.am: added amanda-auth to section 7 * man/xml-source/amanda.conf.5.xml: removed details on auth parameter - and added link to amanda-auth man page + and added link to amanda-auth man page * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to - amanda-auth and added link to amanda-auth man page + amanda-auth and added link to amanda-auth man page 2008-12-22 Nikolas Coukouma * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer" @@ -535,23 +6165,32 @@ * application-src/amstar.c: Use fgets to read star output. * application-src/amgtar.c: Use fgets to read gtar output. -2008-12-22 Jean-Louis Martineau , +2008-12-22 Jean-Louis Martineau , Dustin J. Mitchell * common-src/util.c: Convert underscore in application and script - property name to dash. + property name to dash. * device-src/property.c: Make underscore and dash equal in device - property name. + property name. * installcheck/Amanda_Device.pl: Check device property name with - mixed case and dash. + mixed case and dash. * installcheck/pp-scripts.pl: Check property name with underscore. 2008-12-22 Jean-Louis Martineau * server-src/reporter.c: Fix reporting of FLUSH. +2008-12-21 Dustin J. Mitchell + * device-src/s3-device.c: use devpay if the user token property is + given; otherwise, regular S3 + * installcheck/Amanda_Device.pl: adjust tests to correspond + 2008-12-19 Nikolas Coukouma , Dustin J. Mitchell * device-src/s3-device.c, device-src/s3.c, device-src/s3.h: Reset read and write when retrying a failed request +2008-12-19 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: if SSL is not supported, don't try + to test the SSL_CA_INFO property + 2008-12-19 Jean-Louis Martineau * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1. @@ -577,34 +6216,21 @@ 2008-12-17 Jean-Louis Martineau * installcheck/amfetchdump.pl: chdir() before rmtree(). -2008-12-17 Jean-Louis Martineau - * common-src/pipespawn.c: Remove bogus g_debug(). - 2008-12-17 Jean-Louis Martineau * installcheck/amarchiver.pl: chdir() before rmtree(). - * installcheck/amcheckdump.pl: Add reason to BAIL_OUT. - * installcheck/amdevcheck.pl: Add reason to BAIL_OUT. - -2008-12-07 Satya Ganga - * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx - offline command instead of "eject" which is not supported on solaris. - -2008-12-17 Dan Locks - * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of - "present but cannot be compiled" warning during debian packaging. - -2008-12-17 Dan Locks - * packaging/rpm/amanda.spec: add detection for SLES11 (Beta) 2008-12-17 Dustin J. Mitchell * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve - * installcheck/pp-scripts.pl: add atime-preserve property, remove - references to Installcheck::Dumpcache, which isn't in this release + * installcheck/pp-scripts.pl: add atime-preserve property 2008-12-16 Dustin J. Mitchell * man/xslt/html.xsl.in: add
for the benefit of amanda.css. +2008-12-16 Dan Locks + * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of + "present but cannot be compiled" warning during debian packaging. + 2008-12-16 Jean-Louis Martineau * common-src/security-util.c: Don't close if it's not open. @@ -627,13 +6253,6 @@ * server-src/changer.c changer-src/chg-glue.pl: better error handling -2008-12-16 Dustin J. Mitchell - * changer-src/chg-glue.pl: add labelling support - * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if - the changer is not seekable (hack to make slotinfofile work) - * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping - slots to labels on a best-information-available basis - 2008-12-15 Jean-Louis Martineau * amandad-src/amandad.c: Set wait_30s to 0 for local auth. @@ -645,6 +6264,20 @@ * perl/Amanda/BigIntCompat.pm: additional overloads and methods for BigIntCompat for perl-5.6 compatibility +2008-12-15 Nikolas Coukouma + * perl/Makefile.am, + perl/amglue/amglue.swg, + perl/amglue/filehandles.swg: add typemap to convert perl file handles + to int file descriptors + * installcheck/Amanda_Device.pl: update usage + * perl/Amanda/Device.swg, + perl/Amanda/Archive.swg, + perl/Amanda/MainLoop.swg: update docs, make typemap apply + +2008-12-15 Nikolas Coukouma + * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing + ability to test well with just DevPay credentials + 2008-12-14 Dustin J. Mitchell * man/Makefile.am: change manpage build process * man/entities/global.entities.in: generate with config.status @@ -654,10 +6287,6 @@ * man/xml-source/amanda-applications.7.xml: add links to apps * man/xml-source/amanda-scripts.7.xml: add links to scripts -2008-12-12 John Hein - * server-src/amdump.sh: fix Open3 invocation to work on - FreeBSD-4.x - 2008-12-12 Jean-Louis Martineau * man/xml-source/amanda.conf.5.xml: Fix use of , it must always be at the beginning of the line. @@ -665,6 +6294,17 @@ 2008-12-12 Jean-Louis Martineau * application-src/amgtar.c: Fix coredump if GNUTAR is not set. +2008-12-12 John Hein + * server-src/amdump.sh: fix Open3 invocation to work on + FreeBSD-4.x + +2008-12-12 Nikolas Coukouma + * device-src/s3-device.c, + device-src/s3.c, + device-src/s3.h, + installcheck/Amanda_Device.pl, + man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property + 2008-12-12 Dustin J. Mitchell * client-src/sendbackup-dump.c: fix previous commit to not use precompiler directives in the middle of a macro invocation @@ -684,7 +6324,7 @@ * perl/Amanda/Script_App.pm: Exit instead of die. * perl/Amanda/Application/Zfs.pm: New perl module for zfs. * perl/Makefile.am: Add Amanda/Application and - Amanda/Application/Zfs.pm + Amanda/Application/Zfs.pm 2008-12-12 Jean-Louis Martineau * recover-src/extract_list.c: Wait to read at least one byte from the @@ -694,12 +6334,35 @@ * changer-src/chg-zd-mtx.sh: fix bashisms * client-src/sendbackup-dump.c: use -L on systems that support it +2008-12-11 Dan Locks + * packaging/rpm/amanda.spec: add detection for SLES11 (Beta) + 2008-12-11 Jean-Louis Martineau * NEWS, ReleaseNotes: Add amsamba. 2008-12-11 Jean-Louis Martineau * server-src/driver.c: Check start_t before doing a dump to tape. +2008-12-10 Dustin J. Mitchell + * installcheck/Makefile.am: distribute Dumpcache.pm + +2008-12-10 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: cache amdump runs + * installcheck/Installcheck/Config.pm: add cleanup() + * installcheck/Installcheck/Run.pm: call I::C::cleanup() + * installcheck/Makefile.am: add _seupcache + * installcheck/_setupcache.pl: set up the amdump cache first thing + * installcheck/amcheckdump.pl installcheck/amdevcheck.pl + installcheck/amdump.pl installcheck/amfetchdump.pl + installcheck/amrmtape.pl: use dumpcache + +2008-12-10 Nikolas Coukouma + * device-src/s3.c: Generate date header independently of locale + +2008-12-10 Dustin J. Mitchell + * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs + * installcheck/Amanda_Disklist.pl: fix tests + 2008-12-09 C R Ritson. * server-src/reporter.c: Add threshold to small and big estimate. @@ -727,6 +6390,39 @@ 2008-12-09 Jean-Louis Martineau * man/xml-source/amanda.conf.5.xml: Fix plugin location. +2008-12-09 Nikolas Coukouma + * installcheck/amrmtape.pl, + man/xml-source/amrmtape.8.xml, + server-src/amrmtape.pl: add --cleanup option to amrmtape + alphabetize command-line options + +2008-12-08 Dustin J. Mitchell + * perl/Amanda/Disklist.swg: return a value from + read_disklist_internal + +2008-12-08 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h + installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg + perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c + server-src/diskfile.c server-src/diskfile.h server-src/driverio.c + server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to + DUMPTYPE_AUTH, with related changes to disk_t + +2008-12-08 Dustin J. Mitchell + * perl/Makefile.am installcheck/Amanda_Disklist.pl + perl/Amanda/Disklist.swg installcheck/Makefile.am: + new module + tests + * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific + parameter + * common-src/conffile.h: tag host-related parameters + * perl/Amanda/Config.swg: POD typo + * server-src/diskfile.h: comments + +2008-12-08 Nikolas Coukouma + * installcheck/amrmtape.pl, + man/xml-source/amrmtape.8.xml, + server-src/amrmtape.pl: add --keep-label option to amrmtape + 2008-12-07 Dustin J. Mitchell * server-src/Makefile.am server-src/amvault.pl: new, experimental script to copy data from secondary to tertiary volumes @@ -738,19 +6434,88 @@ 2008-12-05 Dustin J. Mitchell * server-src/taper.c: remove dead code that can cause compiler errors +2008-12-05 Nikolas Coukouma + * device-src/device.c, + device-src/vfs-device.c, + installcheck/Amanda_Device.pl: fix erase() for VFS device + * server-src/amrmtape.pl: fix rollback, erase() call setup + 2008-12-05 Jean-Louis Martineau * server-src/driverio.c: Send a message with NO-NEW-TAPE. * server-src/driver.c: Generate message for NO-NEW-TAPE, call - start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error + start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error for INPUT-ERROR and TAPE-ERROR * server-src/taper.c: Get message from NO-NEW-TAPE command and log it. +2008-12-05 Nikolas Coukouma + * server-src/amrmtape.pl: + man/xml-source/amrmtape.8.xml, + installcheck/amrmtape.pl: add --empty and --changer options for erasing media + +2008-12-04 Nikolas Coukouma + * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg: + Add erase method to the device class + * device-src/property.c, device-src/property.h: + Add FULL_DELETION property so devices can indicate if they implement erase + * xml-source/amanda-devices.7.xml: document FULL_DELETION property + * device-src/null-device.c, device-src/rait-device.c: + Indicate that these do not implement erase (via FULL_DELETION) + * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase + * device-src/s3-device.c: Add delete_all_files helper. + Return FALSE on error in one place. + * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION + * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket. + Don't usually retry when bucket is missing + +2008-12-04 Nikolas Coukouma + * device-src/device.c, + device-src/s3-util.c, + device-src/device.h, + device-src/s3-util.h, + device-src/null-device.c, + device-src/s3-device.c, + device-src/property.c, + device-src/s3.c, + device-src/tape-device.c, + device-src/property.h, + device-src/s3.h, + device-src/vfs-device.c, + device-src/rait-device.c: strip trailing whitespace + +2008-12-04 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if + the changer is not seekable (hack to make slotinfofile work) + +2008-12-04 Dustin J. Mitchell + * changer-src/chg-glue.pl: add labelling support + * perl/Amanda/Changer/compat.pm: call -label even for non-searchable + changers + * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping + slots to labels on a best-information-available basis + +2008-12-03 Nikolas Coukouma + * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh: + convert amrmtape to perl + * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape + * man/xml-source/amrmtape.8.xml: document new long options + +2008-12-03 Satya Ganga + * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline + command instead of "eject" which is not supported on solaris. + 2008-12-03 Jean-Louis Martineau * man/xml-source/amanda.conf.5.xml: Provide default unit. 2008-12-03 Jean-Louis Martineau * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image. +2008-12-01 Satya Ganga + * server-src/amdevcheck.pl: add ability to print device properties + * man/xml-source/amdevcheck.8.xml: new docs + * installcheck/amdevcheck.pl: new tests + * installcheck/Installcheck/Run.pm + installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root + 2008-12-01 Nikolas Coukouma * device-src/s3.c: fix signedness @@ -758,6 +6523,11 @@ * common-src/util.c: fix mishandling of trailing backslash in unquote_string +2008-12-01 Jean-Louis Martineau + * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg, + packaging/rpm/buildpkg, packaging/rpm/amanda.spec, + configure.in: Change version to 2.6.2alpha. + 2008-12-01 Nikolas Coukouma * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket by adding some "null-op" read and write functions. @@ -1068,7 +6838,7 @@ 2008-10-24 Dustin J. Mitchell * amar-src/amar-test.c: don't ignore the return value of write() -2008-08-14 Nikolas Coukouma +2008-10-24 Nikolas Coukouma Jean-Louis Martineau * amar-src/amar.c: fix mis-aligned memory accesses * amar-src/amar-test.c: fix test_pipe @@ -1400,8 +7170,8 @@ * server-src/diskfile.c: Init xml_app.result to stralloc(""). 2008-09-16 Dan Locks - * packaging/rpm/amanda.spec: Added detection of CentOS 4 and 5 as - suggested by dswartz. added graceful failure when Distro/version is + * packaging/rpm/amanda.spec: Added detection of CentOS 4 and 5 as + suggested by dswartz. added graceful failure when Distro/version is not detected correctly 2008-09-15 Dustin J. Mitchell @@ -1767,7 +7537,7 @@ 2008-07-17 Dan Locks * packaging/debian/amanda-enterprise-backup-*.install: added entries for applications and devices man pages. - + 2008-07-17 Jean-Louis Martineau * man/Makefile.am: Add amzfs-snapshot.8 * man/xml-source/amzfs-snapshot.8.xml: New man page. @@ -1786,7 +7556,7 @@ 2008-07-16 Dan Locks * packaging/deb/control, - packaging/rpm/amanda.spec: added explicit dependency on openssl, and a + packaging/rpm/amanda.spec: added explicit dependency on openssl, and a build dependency for openssl and curl development files. 2008-07-15 Dustin J. Mitchell @@ -1901,7 +7671,7 @@ * device-src/rait-device.c: Ditto; also properly handle properties that change device labels. -2007-07-09 Nikolas Coukouma +2007-07-09 Nikolas Coukouma * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION property (for setting location constraints). @@ -1909,8 +7679,8 @@ * device-src/vfs-device.c device-src/tape-device.c: do not autofinish when EOF occurs on writing -2008-07-08 Dustin J. Mitchell , - Nikolas Coukouma , +2008-07-08 Dustin J. Mitchell , + Nikolas Coukouma , Ian Turner , Jean-Louis Martineau Amanda has been analyzed with Klocwork source code analysis, the most @@ -1935,11 +7705,11 @@ - better handling of incorrect commandline arguments - better resource management (file descriptors, etc.) -2008-07-07 Nikolas Coukouma +2008-07-07 Nikolas Coukouma * device-src/Makefile.am: conditionalize activate-devpay on WANT_S3_DEVICE -2007-07-06 Nikolas Coukouma +2007-07-06 Nikolas Coukouma * device-src/s3-device.c, device-src/s3.c, device-src/s3.h, device-src/activate-devpay.c, device-src/Makefile.am: Allow both regular S3 and S3-with-DevPay to be used in @@ -1953,7 +7723,7 @@ * installcheck/Amanda_Device.pl: add tests for DevPay, refactor other S3 tests. -2007-07-06 Nikolas Coukouma +2007-07-06 Nikolas Coukouma * device-src/s3.c: wait for bucket to appear after creation, treat missing bucket as temporary error, increase retries from 5 to 14 (about 3min), explicitly handle HTTP verbs as libcurl expects. @@ -2002,7 +7772,7 @@ 2008-07-02 Dustin J. Mitchell * installcheck/Amanda_Device.pl: test that start(READ) without first - reading the label doesn't cause errors + reading the label doesn't cause errors * device-src/s3-device.c: call s3_device_read_label directly 2008-07-02 Ian Turner @@ -2047,7 +7817,7 @@ 2008-06-29 Dustin J. Mitchell * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm - perl/Amanda/Device.swg perl/Amanda/Logfile.swg + perl/Amanda/Device.swg perl/Amanda/Logfile.swg perl/Amanda/Util.swg: POD cleanup * perl/Makefile.am: new files, rules to make HTML * perl/amperl.css: CSS file for online POD @@ -2296,7 +8066,7 @@ doesn't exist in every version of glib 2008-06-10 Dan Locks - * packaging/rpm/amanda.spec: Replaced individual SBINDIR/am... entries + * packaging/rpm/amanda.spec: Replaced individual SBINDIR/am... entries with SBINDIR/am* in %%files 2008-06-10 Jean-Louis Martineau @@ -2533,7 +8303,7 @@ * common-src/conffile.c: make config insensitive to differences between '-' and '_' * man/xml-source/amanda-client.conf.5.xml - man/xml-source/amanda.conf.5.xml + man/xml-source/amanda.conf.5.xml man/xml-source/amgetconf.8.xml: document it * installcheck/Amanda_Config.pl installcheck/amgetconf.pl: update tests @@ -2789,18 +8559,18 @@ 2008-05-02 Dan Locks * packaging/rpm/amanda.spec: Replace ${ with %{ where applicable. - + 2008-05-02 Dan Locks * packaging/deb/amanda-enterprise-backup-server.postinst packaging/rpm/amanda_enterprise.spec: Change .am_passphrase to a - semi-random number in both packages. + semi-random number in both packages. 2008-04-29 Dustin J. Mitchell - * config/amanda/dirs.m4: note that --with-dumperdir is + * config/amanda/dirs.m4: note that --with-dumperdir is deprecated in ./configure --help -2008-04-24 Jean-Louis Martineau +2008-04-28 Jean-Louis Martineau * restore-src/restore.c: Fix test for DEVICE_STATUS_SUCCESS. 2008-04-28 Dustin J. Mitchell @@ -2844,7 +8614,7 @@ for new module 2008-04-22 Dustin J. Mitchell - * common-src/event.c: on glib <2.4.0, use a simple polling + * common-src/event.c: on glib <2.4.0, use a simple polling child_watch_source; on more recent glib, use glib's own child_watch_source @@ -2936,9 +8706,9 @@ 2008-04-18 Dustin J. Mitchell * perl/Amanda/Changer.pm: rewrite Amanda::Changer to use - Amanda::MainLoop, allowing asynchronous operation of + Amanda::MainLoop, allowing asynchronous operation of changers - * server-src/amcheckdump.pl: use new Amanda::Changer + * server-src/amcheckdump.pl: use new Amanda::Changer interface (synchronously, until we have Amanda::Xfer) * installcheck/Amanda_Changer.pl: test new interface @@ -2999,7 +8769,7 @@ /bin/gnutar, but /bin/tar is actually GNU Tar. 2008-04-15 Dustin J. Mitchell - * common-src/file.c(mk1dir): fix reversed conditional to handle + * common-src/file.c(mk1dir): fix reversed conditional to handle a race condition 2008-04-15 Jean-Louis Martineau @@ -3038,7 +8808,7 @@ Return the latest errno reported. 2008-04-08 Dustin J. Mitchell - * common-src/conffile.c common-src/conffile.h + * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg installcheck/Amanda_Config.pl: new interface for config errors, re-introduce rawtapedev for deprectation purposes @@ -3080,7 +8850,7 @@ 2008-04-07 Dustin J. Mitchell * perl/Amanda/MainLoop.swg perl/amglue/source.c - installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the + installcheck/Amanda_MainLoop.pl: wrap GMainLoop and the GSources defined in event.c, using an extensible model * common-src/event.c: check whether child_watch_source's signal handler has been replaced, and issue a warning if it has. @@ -3178,7 +8948,7 @@ server-src/taper-port-source.c server-src/driverio.c server-src/holding.c server-src/driver.c server-src/taper-file-source.c restore-src/restore.c - common-src/security-util.c common-src/amanda.h + common-src/security-util.c common-src/amanda.h tape-src/output-file.c: use gnulib full_read, full_write functions, which have slightly different error semantics than the corresponding Amanda functions. @@ -3235,8 +9005,8 @@ 2008-03-20 Dan Locks * packaging/deb/control: removed grep dependency - * packaging/deb/amanda-backup-client.postinst - packaging/deb/amanda-backup-server.postinst + * 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 @@ -3357,7 +9127,7 @@ * installcheck/Makefile.am: Use CONFIG_CLOBBER_MY_CONFIG for Makefile variable. -2008-03-11 Dan Locks +2008-03-12 Dan Locks * packaging/rpm/buildpkg: made the script quieter 2008-03-12 Dan Locks @@ -3466,7 +9236,7 @@ 2008-02-28 Dustin J. Mitchell * config/automake/installperms.am: --without-installperms now generates a shell-parsable list of desired permissions - * Makefile.am: erase installperms.sh before beginning a 'make + * Makefile.am: erase installperms.sh before beginning a 'make install' * oldrecover-src/Makefile.am client-src/Makefile.am recover-src/Makefile.am server-src/Makefile.am: give mode @@ -3602,7 +9372,7 @@ variations, clean up forked children 2008-02-13 Dustin J. Mitchell - * common-src/security-util.c + * common-src/security-util.c common-src/security-util.h: don't cast pointers to integers for tcp_conn event id's @@ -3618,7 +9388,7 @@ 2008-02-12 Dustin J. Mitchell * amandad-src/amandad.c: initialize as->service * common-src/event.c common-src/event.h: new GMainLoop-based - version of the event library, allowing GMainLoop-based and + version of the event library, allowing GMainLoop-based and event-based processes to co-exist peacefully 2008-02-12 Dustin J. Mitchell @@ -3737,7 +9507,7 @@ 2008-01-28 Dustin J. Mitchell * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check - for netinet/in.h and in_port_t, and define the latter if + for netinet/in.h and in_port_t, and define the latter if necessary. Thanks to Craig Dewick for the suggestion. @@ -3809,7 +9579,7 @@ - add Installcheck::Run to help with setting up amdump runs, and running applications in general - Add complete runs to amdevcheck, amcheckdump - - Return a nonzero exit status from amgetconf when an invalid + - Return a nonzero exit status from amgetconf when an invalid configuration parameter is specified. 2008-01-18 Dustin J. Mitchell @@ -3923,18816 +9693,3 @@ * 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 - * common-src/conffile.c (usetimestamps): Default ot yes. - * man/xml-source/amanda.conf.5.xml (usetimestamps): Document it. - -2008-01-10 Jean-Louis Martineau - * 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 - * config/amanda/defaults.m4: Set amandates to $localstatedir/amanda/amandate - -2008-01-10 Jean-Louis Martineau - * server-src/amfreetapes.sh: Use amlibexecdir. - -2008-01-10 Jean-Louis Martineau - * 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 - * 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 - * 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 - * changer-src/scsi-solaris.c: Cleanup. - -2008-01-09 Ian Turner - * 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 - * server-src/amcheckdump.pl: call critical() rather than - using die(). - -2008-01-08 Jean-Louis Martineau - * server-src/amcheckdump.pl: Parse 'amflush: starttime' and - 'planner: timestamp' line. - * server-src/amflush.c: Print correct starttime line. - -2008-01-08 Ian Turner - Most of this work was done by Dustin J. Mitchell - , with contributions by Ian Turner . - * 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 - * server-src/amcheckdump.pl: call critical() rather than - using die(). - -2008-01-08 Jean-Louis Martineau - * 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 - * 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 - * 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 - * recover-src/amrecover.c: Call apply_config_overwrites before - config_init(CONFIG_INIT_EXPLICIT_NAME ...) - -2008-01-07 Jean-Louis Martineau - * 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 - * perl/Amanda/Changer.pm: Use Amanda::Config::get_config_dir(). - -2008-01-07 Jean-Louis Martineau - * 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 - * 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 - * device-src/Makefile.am: Merge typo. - * example/Makefile.am: Merge Typo. - -2007-12-27 Dustin J. Mitchell - * configure.in config/amanda/printf.m4: remove unused - configure checks - -2007-12-27 Paddy Sreenivasan - * server-src/reporter.c: Check for NULL mailto - -2007-12-27 Satya Ganga - * 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 - * server-src/taperscan.c server-src/taper.c: only print error_message - if it is non-NULL - -2007-12-27 Dustin J. Mitchell - * server-src/amrmtape.sh: remove @DB_EXT@, which no longer - exists (since 2007-10-09). - -2007-12-26 Dustin J. Mitchell - * server-src/amverify.sh: fix multiple non-portable shell - techniques - -2007-12-23 Dustin J. Mitchell - 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 - ) - * server-src/amcheckdump.pl: Output partnum. (Jean-Louis - Martineau ) - * server-src/amcheckdump.pl: Add a '/' after the config name. - (Jean-Louis Martineau ) - * 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 ) - * 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 - - * 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 - * server-src/amserverconfig.pl: correct holding disk size - validation logic so that it works on solaris too - -2007-12-21 Satya Ganga - * server-src/amserverconfig.pl: amserverconfig needs to create a empty - changer.conf file - -2007-12-21 Jean-Louis Martineau - Bug reported by Tim Bunnell. - * client-src/getfsent.c (dev2rdev): Do it only for block device. - -2007-12-21 Jean-Louis Martineau - * server-src/taper.c: Unquote holding_disk_file. - -2007-12-20 Dustin J. Mitchell - * common-src/debug.h: fix (cosmetic, but confusing) typo - -2007-12-19 Jean-Louis Martineau - * common-src/util.c (quote_string): Quote ':'. - -2007-12-19 Ian Turner - * server-src/taper.c: Don't crash if there is a problem writing a - brand new tape. - -2007-12-19 Jean-Louis Martineau - * server-src/planner.c: Correctly set planner_timestamp if - usetimestamps is set to no. - -2007-12-18 Jean-Louis Martineau - * server-src/driverio.c (childstr): Check dumper->chunker. - -2007-12-14 Ian Turner - * 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 - * config/amanda/dumpers.m4: Don't set STAR in AMANDA_PROG_SAMBA_CLIENT. - -2007-12-14 Jean-Louis Martineau - * server-src/find.c (search_logfile): Parse taper result line before - merging part_find. - -2007-12-14 Jean-Louis Martineau - * server-src/find.c (find_log): Result should not have duplicate - logfile. - -2007-12-10 Jean-Louis Martineau - * 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 - * config/amanda/progs.m4: Define AMLINT To 'echo;false' to no lint - are found. - -2007-12-10 Jean-Louis Martineau - * 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 - * server-src/amindexd.c: Don't use duplicate part. - -2007-12-07 Jean-Louis Martineau - * restore-src/amfetchdump.c: Don't use duplicate part. - -2007-12-07 Jean-Louis Martineau - * server-src/holding.c (holding_get_all_datestamps): Don't add - duplicate datestamp. - -2007-12-07 Jean-Louis Martineau - * server-src/amcheck.c: Don't complain about correct unlabeled - volumes. - -2007-12-06 Jean-Louis Martineau - * 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 - * server-src/find.c (search_logfile): Parse PARTPARTIAL line. - -2007-12-06 Jean-Louis Martineau - * server-src/taper.c: Use g_strdup if pointer can be NULL. - -2007-12-05 Jean-Louis Martineau - * server-src/taperscan.c: Don't output the latest changer result. - -2007-12-05 Jean-Louis Martineau - * 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 - * 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 - * 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 - * server-src/amtape.c: Correctly output the result of taper scan. - -2007-12-04 Jean-Louis Martineau - * 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 - * server-src/changer.c: Print better message if the changer script - has no output. - -2007-12-03 Jean-Louis Martineau - * man/xml-source/amserverconfig.8.xml: Fix indentation. - -2007-11-30 Jean-Louis Martineau - * 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 - * man/xml-source/amanda.conf.5.xml: Improve documentation. - * example/amanda.conf.in: Ditto. - -2007-11-30 Jean-Louis Martineau - * 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 - * server-src/taperscan.c: Fix output formating. - -2007-11-30 Jean-Louis Martineau - * recover-src/set_commands.c: Add a terminating '/' in cd_regex. - Never add it in cd_dir. - -2007-11-30 Jean-Louis Martineau - * config/automake/scripts.am: Build of the scripts also depend on - $(top_builddir)/config.status - -2007-11-30 Jean-Louis Martineau - * 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 - * 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 - * server-src/find.c: Remove seen_chunk_of function. - -2007-11-28 Jean-Louis Martineau - * config/macro-archive/docbook-dtd.m4: Check return code of 5. - -2007-11-28 Dustin J. Mitchell - * installcheck/Amconfig.pm.in: fix quoting error leading to - directories named '"' - -2007-11-28 Dustin J. Mitchell - * common-src/file.c: only chown new directories when running as root - -2007-11-28 Dustin J. Mitchell - * config/automake/installperms.am: strip directory names from build - filenames when setting permissions; fixes errors from examples/ - install - -2007-11-28 Dustin J. Mitchell - * man/Makefile.am: Allow installs, but not tarballs, without - manpages - -2007-11-27 Jean-Louis Martineau - * server-src/planner.c: Check dp->todo before using (est)->dp. - -2007-11-27 Jean-Louis Martineau - * device-src/device.c (default_device_start): Overwrite label only - if mode == ACCESS_WRITE. - -2007-11-20 Ian Turner - * 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 - for suggesting this change. - -2007-11-20 Ian Turner - * device-src/vfs-device.c: Be more thourough about updating volume - usage statistics. - -2007-11-20 Ian Turner - * 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 - * server-src/taperscan.c: Fix a memory allocation bug and be a little - more paranoid. - -2007-11-06 Ian Turner - * server-src/taperscan.c: Print a proper message if there is - only one flag from device_read_label(). - -2007-11-26 Dustin J. Mitchell - * 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 - * server-src/Makefile.am: Move amdevcheck from libexec/ to sbin/. - Thanks to Satya Ganga for noticing this problem. - -2007-11-26 John Franks - * 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 - * server-src/amflush.c: Send config option (-o) to child process. - -2007-11-23 Jean-Louis Martineau - * server-src/planner.c: Don't set est(dp)->state before testing it. - -2007-11-23 Jean-Louis Martineau - * config/amanda/readline.m4: Include termcap, curses or ncurese in LIBS. - -2007-11-23 Jean-Louis Martineau - * server-src/diskfile.c (match_disklist): Fix for disk not found. - -2007-11-23 Jean-Louis Martineau - * server-src/driver.c: Don't release taper_ev_read in - start_degraded_mode. - -2007-11-20 Paddy Sreenivasan - * amanda.spec: Added calls to Zmanda - * example/amanda-client.conf.in: Switch to bsdtcp - -2007-11-14 Jean-Louis Martineau - * server-src/amstatus.pl: Handle taper FAILED message. - -2007-11-14 Jean-Louis Martineau - * config/amanda/userid.m4: Use $enableval in AC_ARG_ENABLE. - -2007-11-07 Paddy Sreenivasan - * 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 - * 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 - 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 - * AUTHORS: Add Dustin J. Mitchell. - -2007-10-31 John Franks (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 - * 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 - * server-src/taperscan.c: Don't segfault if there is an error opening - a device during taperscan. - -2007-10-30 Dustin J. Mitchell - * 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 - * changer-src/chg-zd-mtx.sh: fix typo - -2007-10-29 Ian Turner - * restore-src/restore.c: Don't mention slot numbers when running - without a changer. - -2007-10-29 Ian Turner - * man/xml-source/amfetchdump.8.xml: Remove documentation for - amfetchdump -i. - -2007-10-26 Dustin J. Mitchell - 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 - * 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 - * 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 - * client-src/Makefile.am: Remove duplicate entry for - libamclient_la_SOURCES. - -2007-10-23 Dustin J. Mitchell - * 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 - * server-src/reporter.c: Always call sort_disks. - -2007-10-20 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Correctly document portrange. - * common-src/conffile.c: Fix portrange. - -2007-10-20 Jean-Louis Martineau - * common-src/conffile.c: Allow reserved-udp-port and reserved-tcp-port - in amanda-client.conf. - -2007-10-17 Dustin J. Mitchell - * common-src/amanda.h: remove amflock cruft - -2007-10-16 Dustin J. Mitchell - * 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 - * 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 - * device-src/device.c: Fix a compilation error in - device_set_startup_properties_from_config(). - -2007-10-16 Ian Turner - * 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 - * 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 - * client-src/sendbackup-gnutar.c: Use GNUTAR. - -2007-10-15 Dustin J. Mitchell - * 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 - * 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 - * common-src/protocol.c (s_repwait): return PA_FINISH on P_NAK. - -2007-10-11 Dustin J. Mitchell - * config/amanda/tape.m4: fix typo (have_MTIOCTOP -> HAVE_MTIOCTOP) - -2007-10-10 Dustin J. Mitchell - * 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 - * 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 - * 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 - * 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 - * common-src/util.c (portable_readdir): Don't use reentrant function. - -2007-10-08 Dustin J. Mitchell - * 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 (merged by dustin@zmanda.com) - * example/amanda.conf.in: add segate LTO tapetype - -2007-10-08 Paddy Sreenivasan - * 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 - * 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 - * amanda.spec: add .spec file Zmanda uses for community builds - -2007-10-04 Dustin J. Mitchell - * 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 - * configure.in: Added /opt/local/bin AC_PATH_PROG(PKG_CONFIG.. for - mac osx and macports - -2007-10-03 Jean-Louis Martineau - * server-src/driver.c: Go in degraded mode after out of tape. - -2007-10-02 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Fix indentation. - -2007-10-02 Dustin J. Mitchell - * server-src/amcheck.c: Fix typo in merge found by - martineau@zmanda.com - -2007-10-01 Ian Turner - * 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 - Coverity bug #237 - * amandad-src/amandad.c: fix a use-after-free - -2007-10-01 Ian Turner - * device-src/device.c: Automatically register the CANONICAL_NAME - property for all devices. - -2007-10-01 Ian Turner - * device-src/tape-posix.c: Use MTEOD on systems that have it but not - MTEOM. - -2007-10-01 Ian Turner - * 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 - * changer-src/chg-lib.sh.in: Fix some compilation problems on - Solaris 10. - -2007-09-25 Dan Locks - * common-src/util.c: cast uid_t to long long for printf formatting - -2007-09-25 Dustin J. Mitchell - * 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 - * client-src/sendsize.c: change "smbclient" to SAMBA_CLIENT to allow - configurable name - -2007-09-25 Dustin J. Mitchell - * 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 - * common-src/amanda.h common-src/file.h: move declaration of - canonicalize_pathname to file.h - -2007-09-25 Dustin J. Mitchell - * 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 - * device-src/property.c device-src/property.h: create VERBOSE property - -2007-09-25 Dustin J. Mitchell - * 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 (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 (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 (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 (merged by dustin@zmanda.com) - * device-src/tape-device.c: Use g_strdup() instead of strdup(). - -2007-09-25 Ian Turner (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 (merged by dustin@zmanda.com) - * server-src/taperscan.c: Fix the order of arguments to - scan_read_label(). Patch by Dustin J. Mitchell . - -2007-09-25 Jean-Louis Martineau (merged by dustin@zmanda.com) - * restore-src/restore.c: Change "no tapedev specified" message. - -2007-09-25 Jean-Louis Martineau (merged by dustin@zmanda.com) - * server-src/amtape.c: changer_label should be called only on success. - -2007-09-25 Jean-Louis Martineau (merged by dustin@zmanda.com) - * restore-src/restore.c: init cur_tapedev. - -2007-09-25 Dustin J. Mitchell - * 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 (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 (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 (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 (merged by dustin@zmanda.com) - * server-src/dumper.c (add_msg_data): Remove bogus handling of " - in mesg stream. - -2007-09-25 Ian Turner (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 (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 (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 (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 (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 (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 (merged by dustin@zmanda.com) - * device-src/vfs-device.c: Use old VFS device specification. - -2007-09-25 Ian Turner (merged by dustin@zmanda.com) - * server-src/amlabel.c: Don't dump core on successful labeling. - -2007-09-25 Dustin J. Mitchell - * 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 (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 (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 - * 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 (merged by dustin@zmanda.com) - Thanks to Pavel Pragin for finding these issues. - * server-src/amtape.c: Update the changer database in 'amtape update'. - Thanks to Dustin J. Mitchell for this fix. - * server-src/taperscan.c: Update the changer database during the - taper scan algorithm. - -2007-09-25 Ian Turner (merged by dustin@zmanda.com) - Thanks to Jean-Louis Martineau 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 (merged by dustin@zmanda.com) - * device-src/tape-device.c: Use the right default block size for - reading. - -2007-09-25 Dustin J. Mitchell - * device-src/vfs-device.c: add forgotten device_add_property() call - -2007-09-25 Ian Turner (merged by dustin@zmanda.com) - * server-src/taper.c: Remove an erroneous assertion. Thanks to - Jean-Louis Martineau for noticing this issue. - -2007-09-25 Patch by Jean-Louis Martineau (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 (merged by dustin@zmanda.com) - * restore-src/restore.c: Don't send text to prompt_out if amidxtaped. - -2007-09-25 Jean-Louis Martineau (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 (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 - * 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 - * 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 - * 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 (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 for help in the development of - this patch. - -2007-09-25 Dustin J. Mitchell - * 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 - * server-src/holding.c (holding_walk_file): amfree(filename). - -2007-09-25 John Franks (merged by dustin@zmanda.com) - * man/Makefile.am: fixes for conditional compiles - -2007-09-25 Ian Turner (merged by dustin@zmanda.com) - * common-src/conffile.c: Clean up some bad warning suppression and - obselete unused code. - -2007-09-25 Ian Turner (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 - * 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 - * 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 (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 - and Jean-Louis Martineau - for help identifying warnings that need fixing. - -2007-09-25 Dustin J. Mitchell - * 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 (merged by dustin@zmanda.com) - * device-src/device.c: Suppress a compiler warning. - -2007-09-24 Ian Turner (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 and - Jean-Louis Martineau for help with this patch. - * restore-src/restore.c: Use the new API. - -2007-09-24 Ian Turner (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 . - * 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 - for help with these fixes. - -2007-09-24 Dustin J. Mitchell - * 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 - * 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 (merged by dustin@zmanda.com) - * Correct Cygwin build errors: - common-src/Makefile.am - common-src/amanda.h - -2007-09-24 Dustin J. Mitchell - * 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 - * 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 - * common-src/Makefile.am: remove redundant use of EXTRA_DIST - -2007-09-24 Dustin J. Mitchell - * 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 - * restore-src/restore.c: fix uninitialized value error - -2007-09-24 Dustin J. Mitchell - * 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 - * device-src/tests/queue_test.c: simplify signal handling to - be more portable - -2007-09-24 Dustin J. Mitchell - * 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 (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 for finding and - fixing this bug. - -2007-09-24 Ian Turner (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 (merged by dustin@zmanda.com) - * server-src/amcheck.c: Return 0 if everything is good with the - tape. Thanks to Dustin Mitchell for - reporting this issue, and to Jean-Louis Martineau - for suggesting the form of the fix. - -2007-09-24 Ian Turner (merged by dustin@zmanda.com) - * server-src/restore.c: Only restore files matching requested - disknames. Report and patch by Jean-Louis Martineau - . - -2007-09-24 Ian Turner (merged by dustin@zmanda.com) - * server-src/restore.c: Drop some globals, use data types - responsibly. - -2007-09-24 Ian Turner (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 (merged by dustin@zmanda.com) - * device-src/vfs-device.c: Accept device names without a - terminating '/'. - -2007-09-24 Ian Turner (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 - * 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 - * 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 - * 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 - * 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 - Bug identified by Satya Ganga - * common-src/util.c: handle bad call to check_running_as correctly - -2007-09-11 Dustin J. Mitchell - Bug reported by Bill Bartlett; patch by Jean-Louis Martineau - - * common-src/statfs.c: fix error in available-space calculations - -2007-09-10 Dustin J. Mitchell - * server-src/amcheck.c: quiet compiler warnings when SINGLE_USERID is - defined - -2007-09-10 Dustin J. Mitchell - * 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 - Change by Paul Bijnens - * man/xml-source/amanda.conf.5.xml: Clarify 'etimeout' - -2007-09-07 Dustin J. Mitchell - * gnulib/regenerate/no-error.patch gnulib/Makefile.am: remove - spurious sign-compare warnings from gnulib - -2007-09-05 Dustin J. Mitchell - Bug identified downstream in Debian packaging - * changer-src/chg-null.sh.in: fix typo - -2007-08-29 Dustin J. Mitchell - * common-src/genversion.c common-src/Makefile.am: add subversion revision - and branch info to 'amadmin x version' - -2007-08-23 Dustin J. Mitchell - sf bug #1775316 reported by joerg - * configure.in: use 'sed' instead of shell substitutions to C-quote - ssh arguments - -2007-08-22 Dustin J. Mitchell - * common-src/Makefile.am: adjust dependencies so that 'make dist' can - run without a 'make all' - -2007-08-20 Dustin J. Mitchell - * 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 - * 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 - Patch by C R Ritson - * server-src/amverifyrun.sh.in: "lock" the logfile by creating a - symlink. - -2007-08-06 Dustin J. Mitchell - * example/DLT-A4.ps example/Makefile.am: add new template contributed - by Terry Burton . - -2007-08-01 Dustin J. Mitchell - Patch by Satya Ganga - * server-src/amcleanup.sh.in: shell-compatibility fixes for bash-2.03 - (Solaris 8) - -2007-07-31 Dustin J. Mitchell - * 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 - * restore-src/amfetchdump.c: Check for required arguments in - all cases. - -2007-07-27 Dustin J. Mitchell - * 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 - * restore-src/restore.c: If tpchanger is not defined, then (duh) - don't use the changer. This patch by Jean-Louis Martineau - . - -2007-07-24 Dustin J. Mitchell - * 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 - * 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 - Patch by Dimitri Gorokhovik - * changer-src/chg-multi.sh.in: Typo. - -2007-07-18 Ian Turner (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 - * server-src/reporter.c: fix reporting of STRANGE messages - -2007-07-16 Dustin J. Mitchell - * 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 - * configure.in: add /usr/sfw/bin to SYSPATH for Solaris 10 - -2007-07-13 Jean-Louis Martineau - * changer-src/chg-lib.sh.in: Remoce duplicate amdd, add ammt. - -2007-07-12 Dustin J. Mitchell - * 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 - * recover-src/amrecover.c recover-src/extract_list.c: Add detailed - logging of the amrecover user conversation. - -2007-07-11 Jean-Louis Martineau - Patch by Paul Bijnens - * changer-src/chg-multi.sh.in: Typo. - -2007-07-10 Dustin J. Mitchell - * 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 - 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 - * restore-src/restore.c: Don't do superfluous fsf, - improve error handling. - -2007-07-05 Dustin J. Mitchell - * server-src/amadmin.c: correct misalignment of 'amadmin x balance' - output, as reported by Stefan G. Weichinger . - -2007-07-03 Dustin J. Mitchell - * common-src/amanda.h common-src/amflock.c: remove unused - CONFIGURE_TEST conditionals - -2007-06-28 Dustin J. Mitchell - * 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 . - -2007-06-28 Dustin J. Mitchell - * 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 - * 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 , 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 - * 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 - * 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 - * 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 - * 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 - * tape-src/tapetype.c: close and re-open tape after rewind - (patch from Franz Fischer , modified - by Jean-Louis Martineau ) - -2007-06-06 Jean-Louis Martineau - * restore-src/restore.c: accept all header with size >= DISK_BLOCK_BYTES - -2007-06-18 Jean-Louis Martineau - * server-src/amstatus.pl.in: Set and use chunk_time. - -2007-06-07 Dustin J. Mitchell - * server-src/amcleanupdisk.c: don't try to clean up holding disks - if they are empty. - -2007-06-06 Dustin J. Mitchell - * client-src/sendbackup.c: remove bogus check for unknown program - -2007-06-07 Jean-Louis Martineau - Christopher McCrory found the cause of the problem. - * server-src/find.c: Send ouput to stderr. - -2007-06-07 Jean-Louis Martineau - * configure.in: detect GNU tar's 'backup' and ignore it. Thanks - to Jeanna Geier for spotting this. - -2007-06-05 Jean-Louis Martineau - * common-src/util.c: Don't use -w flags for od execution. - -2007-06-05 Dustin J. Mitchell - * 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 - * 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 - * 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 - * 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 - * server-src/amstatus.pl.in: use perl flags -Tw - -2007-06-04 Dustin J. Mitchell - * common-src/debug.c common-src/error.c: fix compilation errors - on strict platforms. - -2007-06-04 Jean-Louis Martineau - * 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 - * 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 - * 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 - * 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 - * common-src/krb5-security.c: Typo. - -2007-06-01 Ian Turner - * restore-src/restore.c: Set flags->fsf = 0 by default. - -2007-05-29 Jean-Louis Martineau - * server-src/driver.c: Check dumper->down. - * server-src/dumper.c (sendbackup_response): Only call - security_close_connection if pkt != NULL. - -2007-05-29 Jean-Louis Martineau - * server-src/amstatus.pl.in: Use compressed size. - -2007-05-29 Jean-Louis Martineau - * server-src/planner.c: Don't report overwrite if no label. - -2007-05-29 Jean-Louis Martineau - * changer-src/chg-manual.sh.in: Don't reset the slot to 0 on eject. - -2007-05-25 Kevin Till - * example/amanda.conf.in: ditto - * man/xml-source/amanda.conf.5.xml: ditto - * common-src/conffile.c: ditto - -2007-05-24 Dustin J. Mitchell - * 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 (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 (merged by dustin@zmanda.com) - * common-src/fileheader.c: - Remove ".exe" extension from program name is tape header. - -2007-05-24 John Franks (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 - * configure.in: add configure.in recognition for Mac OS X - -2007-05-24 John Franks (merged by dustin@zmanda.com) - * configure.in: IPV6 on cygwin only partially works. - Force WORKING_IPV6 to false. - -2007-05-24 Kevin Till (merged by dustin@zmanda.com) - * server-src/driver.c: use amanda text domain in driver - -2007-05-24 John Franks (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 (merged by dustin@zmanda.com) - * server-src/amstatus.pl.in: parse directory and holding_disk_dir with - space correctly - -2007-05-24 John Franks (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 (merged by dustin@zmanda.com) - * server-src/reporter.c: Split FAILED and STRANGE section. - -2007-05-23 John Franks (merged by dustin@zmanda.com) - * common-src/conffile.c: Fix windows compilation warning. - -2007-05-23 John Franks (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 (merged by dustin@zmanda.com) - * configure.in: Prevent annoying lint usage message from - being displayed in configure console output. - -2007-05-23 John Franks (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 (merged by dustin@zmanda.com) - * changer-src/chg-manual.sh.in: Fix quoting; fix gettext usage. - -2007-05-23 John Franks (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 (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 (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 (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 (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 (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 - * server-src/amcheck.c: Remove bogus amfree(newtapefile). - -2007-05-17 Jean-Louis Martineau - * server-src/amcheck.c: Check all tapelist filename. - -2007-05-17 Jean-Louis Martineau - * server-src/dumper.c (read_datafd): Reset timeout after the write. - -2007-05-17 Jean-Louis Martineau - * amplot/amplot.sh.in: Remove function keyword. - * changer-src/chg-lib.sh.in: Remove function keyword. - * changer-src/chg-multi.sh.in: Remove function keyword. - * changer-src/chg-zd-mtx.sh.in: Remove function keyword. - -2007-05-17 Jean-Louis Martineau - * server-src/diskfile.c: Fix double free. - -2007-05-17 Jean-Louis Martineau - * common-src/amanda.h: define sockaddr_storage and ss_family. - * common-src/amanda.h: define INET_ADDRSTRLEN. - * config/acinclude.m4i (AC_SOCKADDR_STORAGE): New macro. - * configure.in: AC_SOCKADDR_STORAGE. - -2007-05-17 Jean-Louis Martineau - * common-src/amanda.h: Define AI_V4MAPPED and AI_ALL. - -2007-05-17 Jean-Louis Martineau - * util.c (cmp_sockaddr): un-map V4mapped address before comparison. - * common-src/security-util.c: add debugging. - -2007-05-17 Dustin J. Mitchell (merged by dustin@zmanda.com) - * common-src/amanda.h: fix typo (missing 'extern') in erroutput_type - -2007-05-16 John Franks (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 (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 (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 (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 - * client-src/sendsize.c: fix parsing of include/excludes for - old clients - -2007-05-11 Jean-Louis Martineau - * server-src/amcrypt-ossl-asym.sh.in: Use CLIENT_LOGIN. - * server-src/amcrypt-ossl.sh.in: Use CLIENT_LOGIN. - -2007-05-08 Jean-Louis Martineau - * common-src/krb5-security.c: Fix compilation. - -2007-05-09 Dustin J. Mitchell - * common-src/stream.c: add errno's to stream_client_internal - -2007-05-09 Dustin J. Mitchell - * 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 - * 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 - * 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 - * common-src/stream.c: pass correct sockaddr size to bind() - -2007-05-07 Pieter Bowman - * common-src/file.c: reverse the order of chown/chmod to correctly - create temporary files. - -2007-05-07 Jean-Louis Martineau - * common-src/krb5-security.c: Fix compilation. - -2007-05-04 Dustin J. Mitchell - * 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 - * 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 - * 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 - * 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 - * 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 - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.3alpha) - -2007-05-03 Jean-Louis Martineau - * docs/*.txt: Update from xml-docs. - -2007-05-03 Jean-Louis Martineau - * man/xml-source/amrecover.8.xml: Fix space. - -2007-05-03 Jean-Louis Martineau - * Amanda 2.5.2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2). - -2007-05-02 Jean-Louis Martineau - * docs/*.txt, man/xml-source/*.xml: Change OVERWRITE bu OVERRIDE. - * man/xml-source/amadmin.8.xml: Add notees on no-reuse command. - -2007-05-02 Jean-Louis Martineau - * amandad-src/amandad.c: Improve 'invalid service' message. - -2007-05-01 Jean-Louis Martineau - * recover-src/extract_list.c: Report the error message. - * recover-src/extract_list.c: Don't call close_connection. - * common-src/security-util.c: (tcpm_close_connection): Check for rh->rc - -2007-04-27 Jean-Louis Martineau - * common-src/security-util.c (tcp1_stream_client): Set rh->rc->driver. - -2007-04-27 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdudp-security.c, - common-src/krb4-security.c: Fix ntohs for port number. - * common-src/dgram.c: Add socket number in comment. - -2007-04-27 Dustin J. Mitchell - * server-src/holding.c server-src/holding.h server-src/find.c: - use holding module in find.c:search_holding_disk() - -2007-04-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix infobad setting. - -2007-04-26 Jean-Louis Martineau - * server-src/amcheck.c: Set *bad on error. - -2007-04-26 Jean-Louis Martineau - * server-src/amflush.c: Quote L_DISK and FLUSH line. - * server-src/driver.c: Parse quoted FLUSH line. - * server-src/planner.c: Quote L_DISK and FLUSH line. - -2007-04-25 Dustin J. Mitchell - * configure.in common-src/ssh-security.c: allow build-time configuration of SSH options - -2007-04-23 Paddy Sreenivasan - * changer-src/scsi-solaris.c common-src/protocol.c: changes to build on Solaris - -2007-04-20 Dustin J. Mitchell - * configure.in: remove unused AMANDA_C_VOLATILE - * config/acinclude.m4: remove unused AMANDA_C_VOLATILE - -2007-04-20 Dustin J. Mitchell - * autogen: silence unnecessary warnings about GNU make, return exit status - -2007-04-20 Dustin J. Mitchell - * common-src/stream.c: retry socket creation if OS does not support IPv6 - at runtime - -2007-04-20 Jean-Louis Martineau - * amplot/amplot.sh.in (test_awk,find_gnuplot): Imported from zmanda. - * amplot/amplot.awk: Fix some parsing. - * server-src/driver.c (free_kps): Return 0 instead of big value. - -2007-04-18 Jean-Louis Martineau - * oldrecover-src/Makefile.am, changer-src/Makefile.am, - client-src/Makefile.am, amandad-src/Makefile.am, - recover-src/Makefile.am, server-src/Makefile.am, - restore-src/Makefile.am: Link libgnu after libamanda. - -2007-04-18 Jean-Louis Martineau - * client-src/sendbackup.c: Improve tar argument in amanda header for - extraction. - -2007-04-18 Dustin J. Mitchell - * man/Makefile.am configure.in config/acinclude.m4i: add xsltproc- and docbook- - related autoconf macros, use them to ensure the environment is appropriate for - building manpages; manpage build is off by default. - -2007-04-17 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: Send error message to stdout. - -2007-04-17 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: fix more typos (thanks to - "Stefan G. Weichinger" ) - -2007-04-17 Jean-Louis Martineau - * restore-src/restore.c: Fix restoration of split and encrypted backup. - -2007-04-13 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: fix typo in error message - -2007-04-13 Jean-Louis Martineau - * Amanda 2.5.2b1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2b1). - -2007-04-13 Jean-Louis Martineau - * client-src/sendbackup.c (first_num): Removed function. - * client-src/sendbackup.c (the_num): return the nth number in a string. - * client-src/sendbackup.h (AM_SIZE_RE): Need a field. - * client-src/sendbackup-dump.c: Use new AM_SIZE_RE. - * client-src/sendbackup-gnutar.c: Use new AM_SIZE_RE. - -2007-04-13 Jean-Louis Martineau - * NEWS: Change in amanda-2.5.2 - * ReleaseNotes: Releases Notes for 2.5.2 - * server-src/chunker.c (write_tapeheader): Set errno to ENOSPC. - -2007-04-12 Dustin J. Mitchell - * server-src/dumper.c: use fullwrite() instead of write() - -2007-04-12 Jean-Louis Martineau - * amandad-src/amandad.c: Remove duplicate setsockopt(,,SO_REUSEADDR). - * common-src/bsd-security.c: Use int for setsockopt. - * common-src/stream.c (try_socksize): Use int for setsockopt. - -2007-04-12 Jean-Louis Martineau - * server-src/amcheck.c: Remove duplicate test. - * server-src/dumper.c: Use newvstralloc. - -2007-04-12 Jean-Louis Martineau - * server-src/reporter.c: Take value from chunker if it succeed and - taper fail. - -2007-04-10 Jean-Louis Martineau - * configure.in: Use krb5 shared library. - -2007-04-10 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: remove configurability of mt, mtx paths - -2007-04-10 Jean-Louis Martineau - * common-src/krb5-security.c: Initialize rc->gss_context. - -2007-04-09 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: fix bugs in configuration for mt, mtx paths - -2007-04-06 Dustin J. Mitchell - * oldrecover-src/extract_list.c oldrecover-src/display_commands.c - client-src/sendbackup.c client-src/getfsent.c client-src/sendsize.c - client-src/selfcheck.c recover-src/amrecover.c recover-src/extract_list.c - recover-src/display_commands.c server-src/amlogroll.c - server-src/amindexd.c server-src/tapefile.c server-src/amcheck.c - server-src/dumper.c server-src/planner.c server-src/reporter.c - server-src/amadmin.c server-src/find.c server-src/infofile.c - restore-src/amidxtaped.c common-src/security-util.c common-src/amanda.h: - improve parsing with strcmp_const and strcmp_const_skip - -2007-04-06 Jean-Louis Martineau - * server-src/taper.c: Limit splitsize to 1G in PORT-WRITE. - -2007-04-06 Jean-Louis Martineau - * common-src/krb5-security.c: Report client hostname. - -2007-04-06 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tape): Don't call dump_tapelist. - -2007-04-05 Dustin J. Mitchell - * contrib/macosx/org.amanda.amandad.bsd*.plist: updated to use username - 'amandabackup' - -2007-04-05 Dustin J. Mitchell - * amplot/amplot.sh.in configure.in config/acinclude.m4i: - move checks for gnuplot, awk to runtime for easier packaging; - add fake gettext functions to ease the transition to - full gettext support - -2007-04-05 Dustin J. Mitchell - * server-src/amindex.c: fix bug where debug fd was closed by safe_fd, - remove remote_hostname, rewrite to use getaddrinfo/getnameinfo - * server-src/dumper.c server-src/amcheck.c recover-src/set_commands.c: - use getaddrinfo/getnameinfo - * common-src/security-util.[ch]: add try_resolving_hostname() - * common-src/ssh-security.c common-src/rsh-security.c: - use try_resolving_hostname, rewrite to avoid gethostbyname - * common-src/krb5-security.c: use getaddrinfo instead of gethostbyname - -2007-04-05 Dustin J. Mitchell - * changer-src/chg-lib.sh.in changer-src/chg-mtx.sh.in - changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in - changer-src/chg-multi.sh.in changer-src/Makefile.am - configure.in: make the path to MTX and other executables configurable - in changer scripts; introduce new changer shell library to reduce - code duplication; add fake gettext functions to ease the transition to - full gettext support - -2007-04-04 Dustin J. Mitchell - * server-src/dumper.c server-src/chunker.c: remove assumed ENOSPC - error in static write_tapeheader functions - -2007-04-03 Jean-Louis Martineau - * common-src/security-util.c: Remove buggy &. - -2007-04-03 Jean-Louis Martineau - * common-src/conffile.c: Add READBLOCKSIZE tapetype config option. - * common-src/conffile.c(getconf_readblocksize): Function to retrieve - the tapetype readblocksize or the configured maxtapeblocksize. - * common-src/conffile.h: Add READBLOCKSIZE tapetype config option. - * man/xml-source/amanda.conf.5.xml: Document it. - * tape-src/output-tape.c: Use getconf_readblocksize. - * tape-src/tapeio.c: Use getconf_readblocksize. - -2007-04-03 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, - common-src/security-util.c: Fix auth_debug and dbprintf usage. - -2007-04-03 Jean-Louis Martineau - Merge from zmanda ext. - * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml - server-src/amflush.c server-src/cmdline.c server-src/cmdline.h - server-src/holding.c server-src/holding.h server-src/driver.c - server-src/planner.c server-src/amadmin.c server-src/taper.c - server-src/amcleanupdisk.c server-src/find.c - server-src/Makefile.am: revise holding-disk management, add new - 'amadmin' subcommand to list and delete dumps from the holding - disk. - * server-src/amadmin.c: Add 'amadmin XX holding list -l' - -2007-04-02 Dustin J. Mitchell - * common-src/bsdtcp-security.c common-src/bsd-security.c - common-src/security-util.c common-src/bsdudp-security.c: - bugfixes, always check for NULL ai_canonname - * common-src/util.c common-src/util.h common-src/krb4-security.c - common-src/security-util.c: bugfix for hosts with multiple addresses, - improved cmp_sockaddr, remove redundant checks - * server-src/taper.c: add log message when new tapes are auto-labeled - * common-src/security-util.c: patch to avoid spurious compiler warnings - noticed on FC3 - -2007-03-30 Dustin J. Mitchell - * common-src/file.c: remove unused amanda_setup() - -2007-03-30 Jean-Louis Martineau - * common-src/amanda.h: Define a _() macro. - -2007-03-28 Dustin J. Mitchell - * common/amanda.h: fix typo in SS_SET_INADDR_ANY for non-IPv6 - machines - * gnulib/regenerate/regenerate: update to include visibility - and lock modules (See 2007-03-14) - * recover-src/extract_list.c common-src/krb4-security.c - common-src/event.c common-src/security-util.c: use - SELECT_ARG_TYPE instead of fd_set - -2007-03-27 Jean-Louis Martineau - * common-src/krb5-security.c: Fix for krb5 and IPv6. - * common-src/security-util.c: Fix for krb5 and IPv6. - -2007-03-27 Jean-Louis Martineau - * common-src/krb5-security.c: Compile with heimdal kerberos. - -2007-03-27 Jean-Louis Martineau - Fix solaris 9 problem: - * common-src/krb5-security.c: Use putenv instead of setenv. - * common-src/security-util.c: Set flags according to family. - -2007-03-27 Jean-Louis Martineau - Merge from zmanda EXT. - -2007-03-27 Jean-Louis Martineau - * Makefile.am (EXTRA_DIST): Remove contrib/gnulib-update-current. - -2007-03-27 Jean-Louis Martineau - * server-src/reporter.c: Ouput quoted diskname in "DUMP SUMMARY" - section. - -2007-03-23 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Exit with a message if the - configuration file doesn't exist. - -2007-03-23 Jean-Louis Martineau - * common-src/conffile.c: Fix error message. - -2007-03-23 Jean-Louis Martineau - * amandad-src/amandad.c: Fix segfault. - -2007-03-23 Jean-Louis Martineau - * common-src/security-util.c: Use SS_LEN. - * common-src/util.c: Use SS_LEN. - -2007-03-21 Jean-Louis Martineau - * common-src/security.h (security_driver): Add data_encrypt and - data_decrypt function. - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/krb4-security.c, - common-src/rsh-security.c, - common-src/ssh-security.c: Set data_encrypt and data_decrypt to NULL. - - * common-src/conffile.c: Parse KRB5KEYTAB and KRB5PRINCIPAL on client. - * common-src/krb5-security.c: Complete rewrite. - * common-src/security-util.h: Change many prototype. - * common-src/security-util.c: Change argument to function. - * recover-src/amrecover.c: Use generic_client_get_security_conf. - * recover-src/extract_list.c: Use generic_client_get_security_conf. - -2007-03-21 Jean-Louis Martineau - Merge from zmanda EXT. - - Add SS_INIT, SS_SET_INADDR_ANY, SS_GET_PORT and SS_SET_PORT - macros for IPv6 portability - - add SS_LEN() macro for calculating length of a - struct sockaddr, use it in a few locations where incorrect - lengths were being passed. - - New script for rebuilding gnulib from scratch; current - gnulib is from "cvs update -D '2007-01-31 13:12:51 -0600'" - -2007-03-12 Jean-Louis Martineau - * recover-src/set_commands.c (set_tape): Don't amfree(tape). - * oldrecover-src/set_commands.c (set_tape): Don't amfree(tape). - -2007-02-22 Jean-Louis Martineau - * changer-src/scsi-linux.c, common-src/security-util.c, - common-src/stream.c, oldrecover-src/amrecover.c, - restore-src/restore.c, server-src/amcheck.c, - server-src/taper.c: Use SIZE_T_FMT and SSIZE_T_FMT instead of %z. - -2007-02-22 Jean-Louis Martineau - * common-src/bsd-security.c: Always retry getaddrinfo if INET6 failed. - * common-src/bsdudp-security.c: Ditto. - -2007-02-22 Jean-Louis Martineau - * common-src/debug.c: Remove old file in current directory. - -2007-02-22 Jean-Louis Martineau - * changer-src/chg-chio.pl.in: Typo. - -2007-02-21 Jean-Louis Martineau - * recover-src/extract_list.c: Remove match for path_on_disk_slash. - -2007-02-20 Jean-Louis Martineau - * common-src/stream.c, common-src/util.c: Pass exact socklen_t to - bind and connect call. - -2007-02-20 Jean-Louis Martineau - * server-src/taper.c: Set splitsize to 0 if no data in file. - * server-src/amflush.c: Don't send FLUSH request if no data in file. - * server-src/planner.c: Don't send FLUSH request if no data in file. - * server-src/driver.c: Don't send request to taper if no data in file. - -2007-02-19 Jean-Louis Martineau - * amandad-src/amandad.c: Fix compilation with --without-ipv6. - -2007-02-19 Jean-Louis Martineau - * server-src/amverify.sh.in: Remove bogus fi. - -2007-02-16 Jean-Louis Martineau - * server-src/amverify.sh.in: Add timeout on wait for device ready. - * changer-src/chg-chio.pl.in: Wait (with timeout) for drive ready. - -2007-02-15 Jean-Louis Martineau - * server-src/taper.c: Don't call free_server_config. - -2007-02-15 Jean-Louis Martineau - * patching file oldrecover-src/amrecover.h (local_cd): Prototype. - * oldrecover-src/set_commands.c: Works with quoted arguments. - * oldrecover-src/uparse.y (LCD): Call local_cd. - * recover-src/amrecover.h (local_cd): Prototype. - * recover-src/set_commands.c: Works with quoted arguments. - * recover-src/uparse.y (LCD): Call local_cd. - -2007-02-14 Jean-Louis Martineau - * common-src/security-util.c: Add "on the client" message. - -2007-02-13 Jean-Louis Martineau - * server-src/amstatus.pl.in: fix for chunk and displayunit. - -2007-02-13 Jean-Louis Martineau - * server-src/dumper.c: Fix if krb4 is compiled but another auth is - used. - -2007-02-13 Jean-Louis Martineau - * common-src/alloc.c (safe_env): Remove LANG and LC_* only if we are - priviledged process. - -2007-02-13 Jean-Louis Martineau - * dumper-src/amgtar.pl.in: Replace -t options by -T. - * dumper-src/Makefile.am: Remove perl -t options. - -2007-02-12 Jean-Louis Martineau - * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add sl. - * common-src/statfs.c: Fix scale function. - -2007-02-12 Jean-Louis Martineau - * client-src/sendsize.c: Fix PARAM_HONOR_NODUMP. - -2007-02-09 Jean-Louis Martineau - * server-src/reporter.c: Fix postscript crash. - -2007-02-09 Jean-Louis Martineau - * changer-src/chg-manual.sh.in: Add tty, email, tty_email request mode. - -2007-02-07 Jean-Louis Martineau - * server-src/amindexd.c: Use dbfd. - -2007-02-06 Jean-Louis Martineau - * common-src/alloc.c (vstrallocf): New function. - * common-src/amanda.h (vstrallocf): Prototype. - * client-src/sendsize.c: Send error if fe_rep_sendsize_quoted_error. - * common-src/amfeatures.c (am_init_feature_set): Set - fe_rep_sendsize_quoted_error. - * common-src/amfeatures.h (fe_rep_sendsize_quoted_error): new features. - * server-src/planner.c: Receive error message from sendsize. - -2007-02-06 Jean-Louis Martineau - * amandad-src/amandad.c, changer-src/scsi-linux.c, - common-src/conffile.c, configure.in, - man/Makefile.am, man/xml-source/amcheck.8.xml, - server-src/amlabel.c, server-src/taper.c: Merge from zmanda. - -2007-02-06 Jean-Louis Martineau - * common-src/clock.c (timesub): The result must always be positive. - -2007-02-05 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT. - -2007-02-05 Jean-Louis Martineau - * server-src/amcheck.c: Add parentheses. - -2007-02-02 Jean-Louis Martineau - * contrib/gnulib-update-current: New file. - * Makefile.am (EXTRA_DIST): Add contrib/gnulib-update-current. - -2007-02-02 Jean-Louis Martineau - * man/Makefile.am: Use http://docbook.sourceforge.net - * man/xml-source/amadmin.8.xml, man/xml-source/amaespipe.8.xml, - man/xml-source/amanda.8.xml, man/xml-source/amanda-client.conf.5.xml, - man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amcrypt.8.xml, man/xml-source/amdump.8.xml, - man/xml-source/amfetchdump.8.xml, man/xml-source/amflush.8.xml, - man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml, - man/xml-source/ammt.8.xml, man/xml-source/amrecover.8.xml, - man/xml-source/amreport.8.xml, - man/xml-source/amtape.8.xml: Fix for xmllint. - * man/xslt/man.xsl: Remove bogus code. - -2007-02-01 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot. - -2007-02-01 Jean-Louis Martineau - * server-src/amdump.sh.in: Output a starttime line. - * server-src/amflush.c: Output a starttime line. - * server-src/amstatus.pl.in: parse the starttime line. - -2007-01-26 Jean-Louis Martineau - * configure.in: Fix --with-ipv6 option. - -2007-01-26 Jean-Louis Martineau - * server-src/amdump.sh.in: Exit with a status. - -2007-01-26 Jean-Louis Martineau - * server-src/diskfile.c: Use hostnext pointer. - -2007-01-26 Jean-Louis Martineau - * server-src/reporter.c: Exit with a status. - -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Exit with a status. - -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Detect failed dump to tape. - -2007-01-25 Jean-Louis Martineau - * configure.in: Add --with-ipv6 option. - -2007-01-25 Jean-Louis Martineau - * server-src/changer.c (changer_command): Send stderr to dbfd(). - -2007-01-25 Jean-Louis Martineau - * server-src/diskfile.c: Check hostname have same case. - -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists. - -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable. - -2007-01-24 Jean-Louis Martineau - * common-src/conffile.c: Cleanup conf_print function. - -2007-01-24 Jean-Louis Martineau - * common-src/conffile.c: Check for duplicate -o options. - * recover-src/amrecover.c: Change precedence of option. - -2007-01-24 Jean-Louis Martineau - * server-src/diskfile.c: Fix compiler warning. - -2007-01-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): Check size < 0. - - -2007-01-23 Jean-Louis Martineau - * server-src/diskfile.c: Check duplicate DLE with match_host and - match_disk. - -2007-01-18 Jean-Louis Martineau - * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there. - -2007-01-18 Jean-Louis Martineau - * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST. - -2007-01-18 Jean-Louis Martineau - * server-src/amcheck.c: Check tape_access. - * server-src/taper.c: Improve message. - -2007-01-16 Jean-Louis Martineau - * configure.in: Define GCC_COMPILER. - * gnulib/Makefile.am: Add -Wno-error to AM_CFLAGS if GCC_COMPILER. - -2007-01-16 Jean-Louis Martineau - * server-src/getconf.c: Fix segfault in parameter parsing. - -2007-01-15 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, - common-src/stream.c: Don't call check_addrinfo_give_name. - * common-src/security-util.c (check_addrinfo_give_name): Always log - error message. - -2007-01-11 Jean-Louis Martineau - * common-src/conffile.c Set default length/filemark correctly. - * man/xml-source/amanda.conf.5.xml: Document they are in kbytes. - -2007-01-10 Jean-Louis Martineau - * config/gnulib/gnulib-common.m4: New file. - * config/gnulib.m4i: Load config/gnulib/gnulib-common.m4. - -2007-01-10 Jean-Louis Martineau - * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL. - -2007-01-10 Jean-Louis Martineau - * common-src/conffile.c, common-src/conffile.h, - server-src/diskfile.c: Keep different list for exclude file and list. - -2007-01-10 Jean-Louis Martineau - * server-src/taper.c (read_file): Don't count first header twice. - -2007-01-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Fix split-dump accounting. - -2007-01-04 Jean-Louis Martineau - * restore-src/restore.c: Use prompt_in. - -2007-01-04 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/bsd-security.c, - common-src/bsdtcp-security.c, common-src/bsdudp-security.c, - common-src/dgram.c, common-src/security-util.c, - common-src/stream.c, - common-src/util.c: Replace HAVE_IPV6 by WORKING_IPV6. - * configure.in: Define HAVE_IPV6 if IPv6 is working. - -2007-01-04 Jean-Louis Martineau - * changer-src/chg-chio.pl.in, changer-src/chg-iomega.pl.in, - changer-src/chg-rth.pl.in, dumper-src/amgtar.pl.in, - server-src/amoverview.pl.in, server-src/amstatus.pl.in, - server-src/amtoc.pl.in: Clean ENV and set PATH. - -2006-12-27 Jean-Louis Martineau - * server-src/driver.c: Don't repport error for many run in a day if - it's amflush. - -2006-12-27 Jean-Louis Martineau - * common-src/util.c (quote_string): Escape '\' character. - -2006-12-22 Jean-Louis Martineau - * recover-src/display_commands.c: Send quoted text to amindexd. - * recover-src/extract_list.c: Send quoted text to amindexd. - * recover-src/set_commands.c: Send quoted text to amindexd. - -2006-12-22 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk. - -2006-12-22 Jean-Louis Martineau - * client-src/sendsize.c: Compilation fix. - -2006-12-18 Jean-Louis Martineau - * common-src/packet.c (pkt_init_empty): New function. - * common-src/packet.h (pkt_init_empty): New prototype. - * amandad-src/amandad.c, common-src/protocol.c, - common-src/security-util.c: Use pkt_init_empty. - -2006-12-18 Jean-Louis Martineau - * common-src/conffile.c: Print nothing if the list is emtpy. - -2006-12-14 Jean-Louis Martineau - * restore-src/restore.c: Fix filename for output file. - -2006-12-12 Jean-Louis Martineau - * common-src/amanda.h: Define __attribute__ for gcc >= 3. - * common-src/packet.c (pkt_init): Accept NULL for fmt. - * amandad-src/amandad.c, common-src/protocol.c, - common-src/security-util.c: Pass NULL to pkt_init. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/scsi-linux.c, client-src/sendbackup.c, - common-src/amanda.h, common-src/conffile.c, - common-src/event.c, common-src/packet.c, - common-src/security-util.c, common-src/stream.c, - common-src/util.c, oldrecover-src/amrecover.c, - restore-src/restore.c, server-src/amcheck.c, - server-src/driver.c, server-src/driverio.c, - server-src/taper.c: Fix printf format error. - -2006-12-12 Jean-Louis Martineau - * server-src/amindexd.c: Use fgets to read index file because they - are not quoted. - -2006-12-12 Jean-Louis Martineau - * configure.in: Find patch for sort program. - * server-src/amindexd.c: Clean the indexd file between the uncompress - and sort process. - -2006-12-08 Jean-Louis Martineau - * configure.in: Add ICE_CHECK_DECL(snprintf,stdio.h) - * configure.in: Add ICE_CHECK_DECL(vsnprintf,stdio.h) - * client-src/sendbackup.c: Fix ignoring return value of write. - -2006-12-08 Jean-Louis Martineau - * man/xml-source/amadmin.8.xml, man/xml-source/amanda.8.xml, - man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amfetchdump.8.xml, man/xml-source/ammt.8.xml, - man/xml-source/amrecover.8.xml: Move tag to beginning of line - -2006-12-08 Jean-Louis Martineau - * changer-src/chg-rait.sh.in: Fix typo for -reset. - -2006-12-07 Jean-Louis Martineau - * server-src/amindexd.c: Fix host case problem. - * server-src/diskfile.c (add_disk, parse_diskline): Update hostname - field. - * server-src/diskfile.h (disk_s): New hostname field. - * server-src/disk_history.c (add_dump): New hostname parameter. - * server-src/disk_history.h (DUMP_ITEM): New hostname field. - * server-src/disk_history.h (add_dump): Protoype change. - -2006-12-07 Jean-Louis Martineau - * amandad-src/amandad.c: Add missing HAVE_IPV6. - * common-src/security-util.c: Add missing HAVE_IPV6. - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/dgram.c, - common-src/dgram.h, common-src/stream.c, - common-src/util.c: Fix for broken getaddrinfo:not returning V4MAPPED - -2006-12-07 Jean-Louis Martineau - * common-src/conffile.c (lookup_keyword): Use strcasecmp. - * common-src/conffile.c (get_conftoken): Don;t convert to uppercase. - * server-src/getconf.c: Don;t print extra '\n' for --list. - -2006-12-04 Jean-Louis Martineau - * common-src/util.c (str_sockaddr): Use host byte order for port. - -2006-12-04 Jean-Louis Martineau - * server-src/amtape.h: Remove file. - -2006-12-04 Jean-Louis Martineau - Application API phase 1. - * client-src/client_util.c, client-src/client_util.h, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/amfeatures.c, - common-src/amfeatures.h, common-src/fileheader.c, - common-src/fileheader.h, recover-src/extract_list.c, - server-src/amcheck.c, server-src/amstatus.pl.in, - server-src/dumper.c, server-src/Makefile.am, - server-src/planner.c: Fix for Application API. - * configure.in: Fix for moved files. - * dumper-src/generic-dumper.pl.in: Fix for Application API. - * dumper-src/Makefile.am: Fix for renamed files. - * dumper-src/gnutar.pl.in: Renamed to dumper-src/amgtar.pl.in. - * dumper-src/amgtar.pl.in: Fix for Application API. - * dumper-src/star.pl.in: Renamed to dumper-src/amstar.pl.in. - * dumper-src/amstar.pl.in: Fix for Application API. - -2006-11-29 Jean-Louis Martineau - * client-src/sendbackup.c: Kill dump process on error. - -2006-11-29 Jean-Louis Martineau - * changer-src/chg-chio.pl.in: Check tapedev is set. - * changer-src/chg-disk.sh.in: Check tapedev is set. - * changer-src/chg-iomega.pl.in: Check tapedev is set. - * changer-src/chg-manual.sh.in: Check tapedev is set. - * changer-src/chg-mtx.sh.in: Check tapedev is set. - * changer-src/chg-rth.pl.in: Check tapedev is set. - * server-src/amcheck.c: Tapedev is needed only if tpchanger is not set. - * server-src/amflush.c: Tapedev is needed only if tpchanger is not set. - * server-src/amindexd.c: Tapedev is needed only if tpchanger is not set - * server-src/taper.c: Tapedev is needed only if tpchanger is not set. - -2006-11-29 Jean-Louis Martineau - * client-src/sendbackup.c: Ignore tar exit with status 1. - -2006-11-29 Jean-Louis Martineau - * server-src/amindexd.c (clean_backslash): New function use to unescape - '\' characters in index files. - -2006-11-29 Jean-Louis Martineau - * restore-src/restore.c (search_tapes): Fix prompt_out setting. - -2006-11-28 Jean-Louis Martineau - * common-src/amanda.h: Don't include gnulib header if CONFIGURE_TEST - is defined. - * common-src/amflock.c (main): Remove unused fd variable. - -2006-11-28 Jean-Louis Martineau - * config/Makefile.am (EXTRA_DIST): Add gnulib.m4i. - -2006-11-27 Jean-Louis Martineau - * common-src/util.c (copy_file): Fix compilation error. - -2006-11-27 Jean-Louis Martineau - * common-src/stream.c: Fix compilation error. - -2006-11-27 Jean-Louis Martineau - * common-src/amanda.h (NI_MAXHOST): Define if not defined. - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/dgram.c, - common-src/security-util.c, common-src/stream.c, - common-src/util.c: HAVE_IPV6 conditional code - -2006-11-26 Jean-Louis Martineau - * config/gnulib/*: m4 files for gnulib. - * config/gnulib.m4i: File to load all m4 files for gnulib. - * gnulib/*: gnulib source. - * */Makefile.am (INCLUDES): Add $(top_srcdir)/gnulib. - * */Makefile.am (LDADD): Add ../gnulib/libgnu.$(LIB_EXTENSION). - * Makefile.am (ACINCLUDE_M4_DEPS): Add $(srcdir)/config/gnulib.m4i. - * Makefile.am (SUBDIRS): Add gnulib. - * configure.in: AC_PREREQ(2.59), gl_EARLY, gl_INIT. - * configure.in (AC_CONFIG_FILES): Add gnulib/Makefile. - * autogen: Add config/gnulib.m4i to acinclude.m4. - -2006-11-24 Jean-Louis Martineau - * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c, - client-src/sendsize.c, - server-src/amindexd.c: Patch for gcc-3.2.3 to compile the new - vstralloc macro. - -2006-11-24 Jean-Louis Martineau - * common-src/file.c (old_sanitise_filename): New function. - * common-src/amanda.h (old_sanitise_filename): Prototype. - * common-src/util.c (copy_file): New function. - * common-src/util.h (copy_file): Prototype. - * server-src/diskfile.c: Check that two DLE doesn't get the same - sanitized filename. - * server-src/amindex.c (getoldindexfname): New function. - * server-src/amindex.h (getoldindexfname): prototype. - * server-src/amindexd.c: Use the old sanitized filename if the new - file doesn't exist. - * server-src/amcheck.c: Call check_infofile. - * server-src/planner.c: Call check_infofile. - * server-src/server_util.c (check_infofile): New function, will copy - the old sanitizes info file if the new doesn't exist. - * server-src/server_util.h (check_infofile): Prototype. - -2006-11-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): amanda protocol - packet can be larger than NETWORK_BLOCK_BYTES - -2006-11-21 Jean-Louis Martineau - * common-src/stream.c: Fix compiler error. - -2006-11-21 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/amanda.h, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/dgram.c, - common-src/dgram.h, common-src/krb4-security.c, - common-src/krb5-security.c, common-src/security-util.c, - common-src/security-util.h, common-src/stream.c, - common-src/util.c, common-src/util.h, - restore-src/amidxtaped.c, server-src/amindexd.c: IPV6. - -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c, oldrecover-src/display_commands.c, - oldrecover-src/extract_list.c, recover-src/display_commands.c, - recover-src/extract_list.c, - server-src/driver.c: Fix compiler error. - -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c: Open the amandates file after the - /amanda-client.conf file is loaded. - -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c: Fix compiler error on boris. - * server-src/driver.c: Fix compiler error on rocky. - -2006-11-20 Jean-Louis Martineau - * common-src/security-util.c, server-src/amcheck.c, - * server-src/driver.c, server-src/dumper.c, - * server-src/planner.c, tape-src/output-file.c: Lint cleanup. - -2006-11-20 Ian Turner - * tape-src/output-file.c: Fix a compilation error related to - improper type casts. Thanks to Satya Ganga for noticing this - problem. - -2006-11-20 Jean-Louis Martineau - * server-src/driver.c: Use temporary variable to scanf an OFF_T_FMT. - * server-src/planner.c: Use temporary variable to scanf an OFF_T_FMT. - -2006-11-13 Jean-Louis Martineau - * client-src/selfcheck.c: Work for estimate calcsize and - program "DUMP". - -2006-11-13 Jean-Louis Martineau - * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use' - is set to 0. - -2006-11-09 Jean-Louis Martineau - * man/xml-source/amgetconf.8.xml: Document --list. - -2006-11-09 Jean-Louis Martineau - * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer". - -2006-11-08 Jean-Louis Martineau - * common-src/amanda.h, common-src/conffile.c, - common-src/conffile.h, common-src/security-util.c, - configure.in, oldrecover-src/amrecover.c, - oldrecover-src/extract_list.c, recover-src/amrecover.c, - recover-src/extract_list.c, restore-src/amrestore.c, - server-src/dumper.c: Fix compiler error on Tru64. - -2006-11-08 Jean-Louis Martineau - * common-src/conffile.c (getconf_byname): - Parse "DEFINE:identifer:parameter" format. - * common-src/conffile.c (getconf_list): New function to list a DEFINE. - * common-src/conffile.c (lookup_holdingdisk): New function. - * common-src/conffile.h (getconf_list, - lookup_holdingdisk): New prototype. - * server-src/getconf.c: accept --list argument and - "DEFINE:identifer:parameter" format. - * man/xml-source/amgetconf.8.xml: Document. - -2006-11-08 Jean-Louis Martineau - * server-src/driver.c: set off_t variable to 0 before sscanf. - * server-src/planner.c: set off_t variable to 0 before sscanf. - -2006-11-07 Jean-Louis Martineau - * server-src/amstatus.pl.in: Improve error message. - -2006-11-07 Jean-Louis Martineau - * common-src/security-util.c: Fix coverity bug 170. - * server-src/diskfile.c: Fix coverity bug 147. - -2006-11-07 Jean-Louis Martineau - * common-src/conffile.c (validate_chunksize): Check chunksize is >= - 2*DISK_BLOCK_KB - -2006-11-06 Jean-Louis Martineau - * common-src/amanda.h: Define OFF_T_STRTOL. - * configure.in: Check for strtol and strtoll. - -2006-11-02 Ian Turner - * common-src/amanda.h: Use atol if atoll is missing. - -2006-11-02 Jean-Louis Martineau - * common-src/security-util.c: Better message on invalid size. - -2006-11-02 Jean-Louis Martineau - * configure.in: List bsdudp as a udp transport. - -2006-11-01 Jean-Louis Martineau - * server-src/diskfile.c: Don't use 0 for NULL. - -2006-11-01 Jean-Louis Martineau - Revert Ian patch of 2006-10-29. - * common-src/conffile.c: Defile AMANDATES_FILE - * client-src/amandates.h: Don't define AMANDATES_FILE - -2006-11-01 Jean-Louis Martineau - * common-src/conffile.c: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME. - * common-src/conffile.h: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME. - * server-src/amadmin.c (disklist_one): Print correct starttime. - * server-src/diskfile.c: Set start_t to starttime. - * server-src/diskfile.h (disk_t): Add starttime. - -2006-11-01 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: Add Tandberg SLR100, - more debugging. - * changer-src/sense.c: Add Tandberg SLR100 Tape Drive "SLR100". - -2006-11-01 Jean-Louis Martineau - * common-src/amanda.h: Define dbrename if !DEBUG_CODE. - * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE. - -2006-10-30 Jean-Louis Martineau - * server-src/amadmin.c (disklist_one): Print ignore field. - * server-src/amoverview.pl.in: Ignore 'ignore yes' and 'strategy skip'. - * server-src/diskfile.c: Correct hostname allocation. - Keep 'ignore yes' and 'strategy skip' DLE in - memory, set there todo to 0. - * server-src/diskfile.h: (struct disk_s): New ignore field. - -2006-10-29 Ian Turner - This was reported as debian bug 394796. Thanks to Damyan Ivanov - for reporting and to Bdale Garbee - for a preliminary patch. - * common-src/conffile.c: Use AMANDATES_FILE as default for - location of amandates. - * common-src/amandates.h: Move from client-src/ - * client-src/amandates.h: Move to common-src/ - * common-src/Makefile.am: Update to reflect new location of - amandates.h. - * client-src/Makefile.am: ditto. - -2006-10-25 Jean-Louis Martineau - Patch by Jay Fenlason - * common-src/rsh-security.c: Fix. - -2006-10-24 Jean-Louis Martineau - * common-src/conffile.c (get_config_options): Build and argv of the - -o arguments. - * common-src/conffile.h (get_config_options): Prototype. - * server-src/driverio.c: exec dumper/chunker/driver with the argv from - get_config_options - * server-src/amtape.c: Accept -o argument. - * man/xml-source/amtape.8.xml: Document it. - -2006-10-24 Jean-Louis Martineau - * server-src/taper.c: Fix allocation problem on tapedev. - -2006-10-20 Jean-Louis Martineau - * common-src/conffile.c (conf_print): Add a parameter if we want - CONFTYPE_STRING enclosed in ". - * server-src/planner.c: Use getconf_int to get etimeout value. - -2006-10-20 Jean-Louis Martineau - * server-src/taper.c (free_split_buffer): Correct free. - -2006-10-20 Jean-Louis Martineau - * client-src/sendbackup.c: Parse quote amdevice. - * server-src/amcheck.c: Send quoted amdevice. - * server-src/planner.c: Send quoted amdevice. - -2006-10-20 Jean-Louis Martineau - * common-src/conffile.c (CNF_CTIMEOUT, CNF_DTIMEOUT, CNF_ETIMEOUT): - They are of type CONFTYPE_INT - (CONFTYPE_TIME are for value parsed as "hhmm"") - * common-src/conffile.c (getconf_byname): Use conf_print(). - * common-src/conffile.h: Add comment. - * server-src/amcheck.c, server-src/dumper.c, server-src/planner.c: - Use getconf_int to get timeout value. - -2006-10-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Fix formating. - -2006-10-19 Jean-Louis Martineau - * client-src/calcsize.c, client-src/sendsize.c: Remove bogus fseek. - -2006-10-19 Jean-Louis Martineau - * client-src/calcsize.c: Quote amname. - -2006-10-19 Jean-Louis Martineau - * server-src/driver.c: Print an L_STATS with the hostname - * server-src/reporter.c: Print hostname, org, config and date at the - beginning of the report - -2006-10-16 Jean-Louis Martineau - * common-src/dgram.c (dgram_cat), - common-src/packet.c (pkt_init, pkt_cat): Works correctly with - vsnprintf returning -1. - -2006-10-11 Jean-Louis Martineau - * common-src/Makefile.am (libamanda_la_LIBADD) Remove @LTLIBOBJS@. - -2006-10-11 Jean-Louis Martineau - * server-src/taper.c: stralloc(tapedev). - * configure.in (EXAMPLE_TAPEDEV): Set to /dev/null if no tape-device. - * example/amanda-client.conf.in, example/amanda.conf.in - example/chg-mcutil.conf.in: Use EXAMPLE_TAPEDEV. - -2006-10-11 Jean-Louis Martineau - * common-src/alloca.c, common-src/getcwd.c, common-src/mktime.c, - common-src/memmove.c, common-src/snprintf.c, - common-src/strcasecmp.c, common-src/strerror.c, - common-src/strftime.c, common-src/strncasecmp.c, - common-src/strstr.c, common-src/waitpid.c, - COPYRIGHT-APACHE: Removed files. - * configure.in: Remove many AC_REPLACE_FUNCS. - * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-APACHE. - -2006-10-11 Jean-Louis Martineau - * common-src/Makefile.am: Remove all reference to our regex - * common-src/match.c: #include , the system regex - * common-src/memmove.c: No more memmove in regex-src - * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-REGEX - * Makefile.am (EXTRA_DIST): Remove regex-src/* - * regex-src: Remove directory. - * common-src/regcomp.c, common-src/regerror.c, - common-src/regexec.c, common-src/regfree.c, - common-src/amregex.h: Remove files. - -2006-10-11 Jean-Louis Martineau - * server-src/planner.c: Improve message for dump larger than available - tape space if runtapes > 1 and splitsize == 0. - -2006-10-10 Jean-Louis Martineau - * server-src/driver.c (wait_children): Don't crash if dumper->chunker - is NULL - -2006-10-04 Jean-Louis Martineau - * amandad-src/amandad.c: Call security_recvpkt() on A_SENDNACK - and dup P_REQ. - * common-src/security-util.c: Improve message. - -2006-10-03 Jean-Louis Martineau - * server-src/amcleanupdisk.c: Accept -o arguments. - * server-src/amcleanup.sh.in: Add missing 'shift' for non-linux system. - Accept -o arguments. - -2006-10-03 Jean-Louis Martineau - * server-src/amoverview.pl.in: Fix parsing of time field from amadmin. - -2006-10-03 Jean-Louis Martineau - * restore-src/amidxtaped.c, restore-src/restore.c, - server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/taper.c, - server-src/taperscan.c: Check for CNF_TAPEDEV == NULL. - -2006-10-03 Jean-Louis Martineau - * common-src/conffile.c: Don't set CNF_TAPEDEV to DEFAULT_TAPE_DEVICE. - * configure.in: Don't set DEFAULT_TAPE_DEVICE. - -2006-09-29 Jean-Louis Martineau - * common-src/bsdtcp-security.c: Add logging on error. - -2006-09-29 Jean-Louis Martineau - * server-src/amoverview.pl.in: Use shellwords instead of quotewords, - don't add date for disk not in the disklist. - -2006-09-28 Jean-Louis Martineau - * common-src/bsd-security.c: Fix %hd printf argument format. - * common-src/security-util.c: Fix %hd printf argument format. - -2006-09-28 Jean-Louis Martineau - * common-src/conffile.c (client_keytab): Add DEBUG_*. - * oldrecover-src/amrecover.c: Call read_clientconf. - -2006-09-27 Jean-Louis Martineau - * restore-src/restore.c: Improve debugging. - * server-src/changer.c: Make sure to dup the fd out of the 0..2 range. - -2006-09-27 Jean-Louis Martineau - * restore-src/amfetchdump.c: Pass new prompt_in parameter to - search_tapes. - * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in - parameter. - * restore-src/restore.h (search_tapes): New prompt_in parameter. - * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin - and stdout. - * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin - and stdout. - -2006-09-27 Jean-Louis Martineau - Patch by Orion Poplawski - * server-src/planner.c: Add a skip_quoted_line() on error. - -2006-09-23 Jean-Louis Martineau - * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line. - * server-src/amtoc.pl.in: Fix parsing of 'START taper' line. - -2006-09-22 Jean-Louis Martineau - * common-src/conffile.h: New CONFTYPE_INTRANGE conftype_t. - * common-src/conffile.c: New CNF_RESERVED_UDP_PORT, - CNF_RESERVED_TCP_PORT, - CNF_UNRESERVED_TCP_PORT config options. - * common-src/dgram.c: Use the new CNF_RESERVED_UDP_PORT option. - * common-src/stream.c: Use the new CNF_*RESERVED_PORT options. - * man/xml-source/amanda-client.conf.5.xml: Document it. - * man/xml-source/amanda.conf.5.xml: Document it. - -2006-09-22 Jean-Louis Martineau - Patch by William Jojo - * client-src/sendsize.c: Fix #endif for AIX. - -2006-09-22 Jean-Louis Martineau - * common-src/packet.c: Fix use of arglist_start/arglist_end. - * server-src/amindexd.c: Fix use of vsnprintf (for IRIX). - * server-src/logfile.c: Fix use of arglist_start/arglist_end. - -2006-09-21 Jean-Louis Martineau - * server-src/amcheck.c: Don't assert if holding use is set to 0. - -2006-09-19 Jean-Louis Martineau - * server-src/find.c (search_logfile): Count 'PARTIAL taper line'. - -2006-09-19 Jean-Louis Martineau - Patch by Paul Bijens - * server-src/amcheck.c: Print "tapelist" instead of "tapefile". - -2006-09-19 Jean-Louis Martineau - * common-src/dgram.c (dgram_bind): Remove unused variables. - -2006-09-19 Jean-Louis Martineau - * common-src/conffile.c, common-src/conffile.h: Add debug_amandad, - debug_amidxtaped, debug_amindexd, debug_amrecover, debug_auth, - debug_event, debug_holding, debug_protocol, debug_planner, - debug_driver, debug_dumper, debug_chunker, debug_taper, - debug_selfcheck, debug_sendsize, debug_sendbackup - configurations options. - * common-sc/debug.c: Use it's own clock function. - * amandad-src/amandad.c, amandad-src/amandad_util.c, - client-src/calcsize.c, client-src/client_util.c, - client-src/killpgrp.c, client-src/rundump.c, - client-src/runtar.c, client-src/selfcheck.c, - client-src/sendbackup.c, client-src/sendsize.c, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/debug.c, - common-src/dgram.c, common-src/event.c, - common-src/krb5-security.c, common-src/pipespawn.c, - common-src/protocol.c, common-src/rsh-security.c, - common-src/security.c, common-src/security-util.c, - common-src/security-util.h, common-src/ssh-security.c, - common-src/stream.c, common-src/util.c, - recover-src/amrecover.c, restore-src/amidxtaped.c, - server-src/amindexd.c, server-src/chunker.c, - server-src/driver.c, server-src/dumper.c, - server-src/planner.c, - server-src/taper.c: Use the debug_* configuration options. - Use debug_prefix_time to print the time on - all debugging message. - -2006-09-19 Jean-Louis Martineau - * amandad-src/amandad.c: Use CNF_REP_TRIES. - * common-src/conffile.c: New CONNECT_TRIES, REQ_TRIES, REP_TRIES - configuration options. - * common-src/conffile.h: New CONNECT_TRIES, REQ_TRIES, REP_TRIES - configuration options. - * common-src/protocol.c: Use CNF_CONNECT_TRIES and CNF_REQ_TRIES. - * common-src/protocol.c: Rename reqtries to resettries. - Rename acktries to reqtries. - * man/xml-source/amanda-client.conf.5.xml: Document new options. - * man/xml-source/amanda.conf.5.xml: Document new options. - -2006-09-19 Jean-Louis Martineau - * amandad-src/amandad.c: Read client configuratrion file. - * client-src/client_util.c, client-src/selfcheck.c, - client-src/sendbackup.c, client-src/sendbackup-dump.c, - client-src/sendbackup-gnutar.c, client-src/sendsize.c, - recover-src/amrecover.c, recover-src/extract_list.c, - restore-src/amfetchdump.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amflush.c, - server-src/amflush.c, server-src/amlabel.c, - server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/diskfile.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, - server-src/planner.c, server-src/reporter.c, - server-src/taper.c: Use generic macro/functions instead of - client/server functions. - * client-src/client_util.h: Remove unuse macro. - * client-src/Makefile.am: Remove clientconf.? files. - * common-src/amanda.h: Define MAX_DUMPERS. - * common-src/conffile.c: New file, merge of client-src/clientconf.c - and server-src/conffile.c - * common-src/conffile.h: New file, merge of client-src/clientconf.c - and server-src/conffile.c - * common-src/Makefile.am (libamanda_la_SOURCES): Add conffile.c - * common-src/Makefile.am (noinst_HEADERS): Add conffile.h - * common-src/util.c: Move many thing to common-src/conffile.c. - * common-src/util.h: Move many thing to common-src/conffile.h. - * server-src/driverio.h: Remove MAX_DUMPERS define. - * server-src/Makefile.am: Remove conffile.[hc]. - -2006-09-19 Jean-Louis Martineau - * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket. - -2006-09-19 Jean-Louis Martineau - * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH - fatal error. - -2006-09-18 Jean-Louis Martineau - * common-src/util.c(dump_sockaddr): Convert from network to machine - bytes order before printing. - * common-src/dgram.c (dgram_recv): Print the fromaddr. - -2006-09-15 Jean-Louis Martineau - * amandad-src/amandad.c: Correct order of close/dup. - -2006-09-12 Jean-Louis Martineau - * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME. - -2006-09-12 Jean-Louis Martineau - * server-src/amstatus.pl.in: Check that $dumpers_active is defined. - -2006-09-12 Jean-Louis Martineau - * common-src/util.c (conftoken_getc): Return an int. - -2006-09-11 Jean-Louis Martineau - * client-src/sendbackup-dump.c: Works if rundump is not used. - -2006-09-05 Jean-Louis Martineau - * Amanda 2.5.1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1). - * NEWS: Change in amanda-2.5.1 - -2006-08-30 Jean-Louis Martineau - * server-src/dumper.c: Typo in error message. - -2006-08-29 Jean-Louis Martineau - * client-src/selfcheck.c: Print error message to stdout before - calling error(). - -2006-08-28 Jean-Louis Martineau - * server-src/dumper.c (log_msgout): Seek to begining of file. - -2006-08-28 Jean-Louis Martineau - * server-src/reporter.c: Report if a dump was successfully retried. - -2006-08-28 Jean-Louis Martineau - * server-src/amstatus.pl.in: Correct size for retried dump. - -2006-08-25 Jean-Louis Martineau - * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0. - -2006-08-24 Jean-Louis Martineau - * common-src/statfs.c (scale): Macro replaced by a function. - -2006-08-24 Jean-Louis Martineau - * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept. - * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept. - -2006-08-24 Maitreyee Karmarkar - * man/xml-source/amcheck.8.xml: amcheck xml man page change - -2006-08-23 Kevin Till - * server-src/driver.c: fix typo - -2006-08-23 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Decrement pendings_aborts. - * server-src/driver.c (handle_dumper_result): Don't send duper result - to chunker if we aborted it. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd - on ABORT. - * server-src/dumper.c: Accept ABORT command. - -2006-08-23 Jean-Louis Martineau - * restore-src/restore.c (restore): Set bytes_read to the return value - of read_file_header. - -2006-08-22 Jean-Louis Martineau - * tape-src/output-tape.c: Works if EOVERFLOW is not defined. - -2006-08-21 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/rsh-security.c, - common-src/ssh-security.c, restore-src/restore.c, - server-src/changer.c, server-src/dumper.c: Fix sentinel warning. - -2006-08-21 Jean-Louis Martineau - * example/amanda.conf.in: Typo. - -2006-08-21 Jean-Louis Martineau - * server-src/driverio.c: Fix bogus "(unsigned long)-1". - -2006-08-21 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd. - -2006-08-21 Maitreyee Karmarkar - * server-src/amcheck.c: Check specific clients - * man/amcheck.8: add the multiple client check format - -2006-08-18 Ian Turner - * tape-src/amtapetype.c: Don't crash on exit - -2006-08-17 Paddy Sreenivasan - * server-src/driverio.c: - * server-src/changer.c: - * restore-src/amfetchdump.c: - * recover-src/extract_list.c: - * oldrecover-src/extract_list.c: - * common-src/util.c: - * common-src/stream.c: - * common-src/file.c: - * common-src/dgram.c: Fix warnings - -2006-08-17 Kevin Till - * common-src/stream.c: Loop 5 times (ntries > 5) on select error - -2006-08-14 Paddy Sreenivasan - * client-src/sendsize.c: Fix warning - * server-src/reporter.c: Fix warnings - -2006-07-28 Jean-Louis Martineau - * Amanda 2.5.1b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2). - -2006-07-28 Jean-Louis Martineau - * server-src/driver.c (find_diskspace): Make sure size > 0. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Don't check new disk. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if full size estimate is larger - than the available tape space. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if the latest full dump will be - overwritten soon. - -2006-07-27 Jean-Louis Martineau - * common-src/clock.c (timesub): Don't make a negative time. - -2006-07-27 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Tell which file are loaded. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-07-26 Jean-Louis Martineau - * NEWS: for 2.5.1b2. - -2006-07-26 Jean-Louis Martineau - * common-src/util.h (CONFTYPE_HOLDING): New conftype. - * common-src/util.c (conf_init_holding, conf_set_holding, - get_conftype_hold): New fonction. - * example/amanda.conf.in: Example of new holdingdisk value. - * man/xml-source/amanda.8.xml: Example. - * man/xml-source/amanda.conf.5.xml: Document it. - * server-src/amadmin.c (disklist_one): Print holdingdisk value. - * server-src/conffile.c: Parse new CONF_HOLDING type. - * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro. - * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk. - * server-src/driver.c: Use new CONFTYPE_HOLDING value. - -2006-07-26 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by coverity. - * common-src/debug.c: Fix bug found by coverity. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Typo. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Correct test for driver_stream. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates. - * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE. - * server-src/conffile.c (getconf_taperalgo): New function. - * server-src/conffile.h (getconf_taperalgo): Prototype. - * server-src/driver.c: Use getconf_taperalgo. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c (client_getconf_boolean): New function. - * client-src/clientconf.h (client_getconf_boolean): Prototype. - * server-src/conffile.c (getconf_boolean): New function. - * server-src/conffile.h (getconf_boolean): Prototype. - * restore-src/amidxtaped.c: Use getconf_boolean. - * server-src/amflush.c: Use getconf_boolean. - * server-src/planner.c: Use getconf_boolean. - -2006-07-25 Jean-Louis Martineau - * server-src/getconf.c: Don't print BUGGY. - * changer-src/chg-chio.pl.in: Don't parse BUGGY. - * changer-src/chg-iomega.pl.in: Don't parse BUGGY. - * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY. - * man/xml-source/amgetconf.8.xml: Don't parse BUGGY. - * server-src/amverifyrun.sh.in: Don't parse BUGGY. - * server-src/amverify.sh.in: Don't parse BUGGY. - -2006-07-25 Jean-Louis Martineau - * restore-src/restore.c: Cleanup. - * restore-src/amrestore.c: Don't fsf if the last read return 0. - -2006-07-25 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by klocwork. - * common-src/rsh-security.c: Fix bug found by klocwork. - * common-src/ssh-security.c: Fix bug found by klocwork. - * server-src/planner.c: Fix bug found by klocwork. - -2006-07-25 Jean-Louis Martineau - * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef. - -2006-07-25 Jean-Louis Martineau - * server-src/amcheck.c: Fix quoting. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: client_getconf* validate the type. - * common-src/util.c (get_conftype_*): New function. - * common-src/util.h (get_conftype_*): Prototype. - * server-src/conffile.c: getconf* validate the type. - * server-src/conffile.h: Use get_conftype_* function. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New AMANDATES client config option. - * client-src/clientconf.h: New AMANDATES client config option. - * client-src/amandates.c: Use AMANDATES. - * client-src/amandates.h: Use AMANDATES. - * client-src/selfcheck.c: Use AMANDATES. - * client-src/sendbackup-gnutar.c: Use AMANDATES. - * client-src/sendsize.c:: Use AMANDATES. - * common-src/util.h : New CONF_AMANDATES. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option. - * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option. - * client-src/selfcheck.c: Use GNUTAR_LIST_DIR. - * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR. - * client-src/sendsize.c: Use GNUTAR_LIST_DIR. - * common-src/util.h: New CONF_GNUTAR_LIST_DIR. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c, client-src/killpgrp.c, - client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/amanda.h, - common-src/debug.c, oldrecover-src/amrecover.c, - recover-src/amrecover.c, restore-src/amfetchdump.c, - restore-src/amidxtaped.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/driver.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c: dbrename ot the config dir. - -2006-07-25 Jean-Louis Martineau - * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT - and DBG_SUBDIR_CLIENT. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/chg-scsi-chio.c, client-src/calcsize.c, - client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, - oldrecover-src/amrecover.c, recover-src/amrecover.c, - restore-src/amfetchdump.c, restore-src/amidxtaped.c, - restore-src/amrestore.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/diskfile.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, - server-src/infofile.c, server-src/planner.c, - server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER, - DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c: Get config on argument. - * client-src/killpgrp.c: Get config on argument. - * client-src/rundump.c: Get config on argument. - * client-src/runtar.c: Get config on argument. - * client-src/sendbackup.c: Call program with config as argument. - * client-src/sendbackup-dump.c: Call program with config as argument. - * client-src/sendbackup-gnutar.c: Call program with config as argument. - * client-src/sendbackup.h: Add global g_options. - * client-src/sendsize.c: Call program with config as argument. - -2006-07-23 Jean-Louis Martineau - * client-src/sendbackup-gnutar.c: Fix bug found by splint. - * client-src/sendsize.c: Fix bug found by splint. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix amfree(mem_splitbuf). - -2006-07-22 Jean-Louis Martineau - * server-src/diskfile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix split_buffer allocation problem. - -2006-07-22 Jean-Louis Martineau - * client-src/selfcheck.c, common-src/security-util.c, - restore-src/restore.c, server-src/diskfile.c: Fix memory leak found - by coverity. - -2006-07-20 Jean-Louis Martineau - * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c, - client-src/amandates.c, client-src/calcsize.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/security-util.c, - recover-src/extract_list.c, restore-src/restore.c, - server-src/amindexd.c, server-src/diskfile.c, - server-src/driver.c, server-src/reporter.c, - server-src/tapefile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-19 Jean-Louis Martineau - * client-src/selfcheck.c : Read client config file. - * client-src/sendbackup.c: Read client config file. - * client-src/sendsize.c : Read client config file. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add 'char *config'; - * amandad-src/amandad_util.c (parse_g_options): Parse 'config='. - * common-src/amfeatures.h (fe_req_options_config): New amfeature. - * common-src/amfeatures.c (am_init_feature_set): - set fe_req_options_config. - * server-src/amcheck.c: Send 'config=' in global options. - * server-src/dumper.c: Send 'config=' in global options. - * server-src/planner.c: Send 'config=' in global options. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.c: Call dbopen("amandad"). - * changer-src/chg-scsi.c: Call dbopen("server"). - * changer-src/chg-scsi-chio.c: Call dbopen("server"). - * client-src/calcsize.c: Call dbopen("client"). - * client-src/getfsent.c: Call dbopen(NULL). - * client-src/killpgrp.c: Call dbopen("client"). - * client-src/rundump.c: Call dbopen("client"). - * client-src/runstar.c: Call dbopen("client"). - * client-src/runtar.c: Call dbopen("client"). - * client-src/selfcheck.c: Call dbopen("client"). - * client-src/sendbackup.c: Call dbopen("client"). - * client-src/sendsize.c: Call dbopen("client"). - * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir' - argument. - * common-src/bsd-security.c: Call dbopen(NULL). - * common-src/debug.c (debug_open): Call debug_setup_1(subdir) - * common-src/debug.c (debug_setup_1): Take a subdir argument, - add it to dbgdir. - * common-src/file.c: Call dbopen(NULL). - * common-src/statfs.c: Call dbopen(NULL). - * common-src/token.c: Call dbopen(NULL). - * oldrecover-src/amrecover.c: Call dbopen("client"). - * recover-src/amrecover.c: Call dbopen("client"). - * restore-src/amfetchdump.c: Call dbopen("server"). - * restore-src/amidxtaped.c: Call dbopen("server"). - * restore-src/amrestore.c: Call dbopen("server"). - * server-src/amadmin.c: Call dbopen("server"). - * server-src/amcheck.c: Call dbopen("server"). - * server-src/amcleanupdisk.c: Call dbopen("server"). - * server-src/amflush.c: Call dbopen("server"). - * server-src/amindexd.c: Call dbopen("server"). - * server-src/amlabel.c: Call dbopen("server"). - * server-src/amlogroll.c: Call dbopen("server"). - * server-src/amtape.c: Call dbopen("server"). - * server-src/amtrmidx.c: Call dbopen("server"). - * server-src/amtrmlog.c: Call dbopen("server"). - * server-src/chunker.c: Call dbopen("server"). - * server-src/diskfile.c: Call dbopen("server"). - * server-src/driver.c: Call dbopen("server"). - * server-src/dumper.c: Call dbopen("server"). - * server-src/getconf.c: Call dbopen("server"). - * server-src/infofile.c: Call dbopen("server"). - * server-src/planner.c: Call dbopen("server"). - * server-src/reporter.c: Call dbopen("server"). - * server-src/taper.c: Call dbopen("server"). - -2006-07-17 Jean-Louis Martineau - * server-src/chunker.c: Fix rt computation. - * server-src/dumper.c: Fix dumptime computation. - * server-src/taper.c: Fix rt computation. - -2006-07-17 Jean-Louis Martineau - * NEWS: Klocwork defects fixed. - * NEWS: Coverity defect fixed. - -2006-07-14 Jean-Louis Martineau - * Makefile.am (pkgdata_DATA): add ReleaseNotes. - -2006-07-14 Jean-Louis Martineau - * Amanda 2.5.1b1 released. - * configure.in: Remove -Werror. - -2006-07-14 Jean-Louis Martineau - * client-src/sendsize.c: Use read/write to copy tar snapshot file. - * client-src/sendbackup-gnutar.c: Ditto. - -2006-07-13 Jean-Louis Martineau - * common-src/stream.c (stream_accept): Loop 5 times on select error. - -2006-07-13 Jean-Louis Martineau - * server-src/dumper.c: The datafd is not scheduled at start, - add test for it. - * common-src/stream.c (tcpm_recv_token): Set error_msg. - -2006-07-12 Jean-Louis Martineau - * common-src/util.c (free_new_argv): Move out of - #ifndef HAVE_LIBREADLINE. - -2006-07-12 Jean-Louis Martineau - * server-src/amadmin.c (tape): Report the number of new tapes instead - of "a new tape" for each tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2006-07-12 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Report error from - changer_find. - -2006-07-11 John Franks jrfranks@zmanda.com - * configure.in: Fix multiple definition of readline during cygwin - compile. - -2006-07-11 Paddy Sreenivasan - * common-src/pipespawn.c : Fixed compiler warning - -2006-07-11 Jean-Louis Martineau - * man/xml-source/amtapetype.8.xml: No default value for -e. - -2006-07-11 Jean-Louis Martineau - * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF. - * server-src/reporter.c: Check tp == NULL. - -2006-07-11 Jean-Louis Martineau - * tape-src/tapetype.c: Make -e an needed argument. - * man/xml-source/amtapetype.8.xml: Update man page. - -2006-07-11 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile. - -2006-07-11 Jean-Louis Martineau - * recover-src/extract_list.c (check_file_overwrite): Renamed from - check_file_overwite. - * recover-src/extract_list.c (check_file_overwrite): Do the path check - in the correct order (from left ro right). - -2006-07-11 Jean-Louis Martineau - * common-src/file.c (debug_agets): Remove call to dbprintf. - -2006-07-10 Jean-Louis Martineau - * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list, - free_unlink_list): New function to manage unlink_list. - * recover-src/extract_list.c (check_file_overwite): Check all - component of an EXTRACT_LIST_ITEM, if a component is not a - directory, add it to the unlink_list. - * recover-src/extract_list.c (extract_files): Call do_unlink_list and - free_unlink_list, rename buf to cwd. - -2006-07-10 Jean-Louis Martineau - * common-src/pipespawn.c (pipespawnv_passwd): Add prototype. - * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL - parameters to the pipespawnv_passwd call. - * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and - passwdfd parameters, add passwdvar and local variable. - Don't use memcpy to set passwdfd. - * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c (stream_read_sync_callback): Remove bogus - call of callback. - -2006-07-07 Kevin Till - * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1 - * common-src/bsdtcp-security.c: ditto - * common-src/krb4-security.c: ditto - * common-src/security-util.c: ditto - * restore-src/amidxtaped.c: ditto - -2006-07-07 Jean-Louis Martineau - * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c: Validate and report big packet size. - -2006-07-07 Jean-Louis Martineau - * oldrecover-src/Makefile.am: Typo. - -2006-07-07 Jean-Louis Martineau - * client-src/sendsize.c: Typo. - -2006-07-06 John Franks - * common-src/genversion.c: - Remove reference to error(). This causes a compile - error on cygwin. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 128, 170, 182, 470, 517 - * changer-src/chg-scsi.c: Validate drivenum, check count_file. - * client-src/sendsize.c: Validate level. - * oldrecover-src/amrecover.c: Use tm. - * recover-src/amrecover.c: Use tm. - * server-src/infofile.c (delete_txinfofile): Use local variable. - -2006-07-06 Jean-Louis Martineau - * server-src/taper.c: Check for cur_filename. - * tape-src/output-file.c: Use vstrextend. - * tape-src/tapeio.c: Check for r. - -2006-07-06 Jean-Louis Martineau - Fix splint warning - * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * recover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * server-src/amindexd.c: Add a /*@i@*/. - * server-src/conffile.c: Cast to off_t for conf_init_am64. - * server-src/driver.c: Cast to unsigned to print pid_t. - * server-src/find.c (strip_failed_chunks): Cleanup for splint. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 114 - * server-src/amindexd.c: Free their_feature_string. - Klocwork bug 130 - * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize. - Klocwork bug 294 - * common-src/genversion.c: Check NULL result of malloc. - Klocwork bug 294 - * client-src/selfcheck.c: Check NULL result of fdopen. - Klocwork bug 539, 542 - * oldrecover-src/extract_list.c: Fix pfn2->next = fn2. - * recover-src/extract_list.c : Ditto - Klocwork bug 268, 272, 543, 544 - * oldrecover-src/extract_list.c: Check for cmd != NULL. - * recover-src/extract_list.c : Ditto - Klocwork bug 510 - * restore-src/amidxtaped.c: Check for argv != NULL. - Klocwork bug 435 - * changer-src/scsi-linux.c: Make buffer one larger. - Klocwork bug 520 - * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters. - Klocwork bug 182 - * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 551 - * regex-src/regcomp.c (allocset): Check for p->g->sets - and p->g->setbits - -2006-07-05 Jean-Louis Martineau - Klocwork bug 169, 170, 181 - * changer-src/chg-scsi.c: Validate input. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 282 - * common-src/file.c (rmpdir): Check for p == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 524 - * common-src/dgram.c (dgram_send_addr): Set addr_save earlier. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 495 - * server-src/taper.c (file_reader_side): Maximum value for - fallback_splitsize. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 532 - * recover-src/display_commands.c: Check for cmd != NULL. - * oldrecover-src/display_commands.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 410 - * restore-src/restore.c (restore): Check for tmp_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 234 - * server-src/driver.c: Check for h and activehd >= 0. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 338 and 390 - * server-src/reporter.c (handle_partial, handle_strange): Check result - of handle_success. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 558 - * client-src/selfcheck.c (check_options, check_disk): Check for - calcprog == NULL - -2006-07-05 Jean-Louis Martineau - Klocwork bug 521 - * client-src/clientconf.c (add_client_conf): Check result of realloc. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 447 and 449 - * restore-src/restore.c: Check for valid sendbackup request. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 407 - * restore-src/restore.c (restore): Set statinfo.st_size. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 189 - * common-src/file.c (sanitise_filename): Never return NULL. - -2006-07-05 Jean-Louis Martineau - * amandad-src/Makefile.am: Remove tape-src and libamtape. - * client-src/Makefile.am: Remove tape-src and libamtape. - * man/Makefile.am: Cleanup. - * oldrecover-src/Makefile.am: Remove tape-src and libamtape. - * recover-src/Makefile.am: Remove tape-src and libamtape. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 236 - * server-src/driver.c (handle_dumper_result): Check for - dumper->ev_read != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 553 - * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 556 and 557 - * common-src/security-util.c (bsd_recv_security_ok): Check result of - strtok, check service == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 161 - * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail. - * client-src/calcsize.c (main): check NULL result from calc_load_file. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 84 - * server-src/amflush.c (main): Check return of lookup_disk. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559 - * common-src/security-util.c: Check result of fdopen. - * client-src/sendsize.c : Ditto. - * server-src/amcheck.c : Ditto. - * server-src/amflush.c : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519 - * common-src/bsd-security.c: Replace malloc by alloc. - * common-src/bsdudp-security.c: Ditto - * common-src/genversion.c: Ditto - * recover-src/amrecover.c: Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/reporter.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 562 and 475 - * recover-src/set_commands.c (cd_dir): Check result of rindex. - * oldrecover-src/set_commands.c (cd_dir): ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 552 - * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 406 - * restore-src/restore.c (restore): Check for final_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 318 - * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 17, 32 - * server-src/amadmin.c (disklist_one): Check localtime return NULL. - * server-src/amadmin.c (info_one) : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567 - * server-src/amadmin.c (seqdatestr): Check localtime return NULL. - * common-src/util.c (construct_datestamp, construct_timestamp, - conf_print): Ditto. - * oldrecover-src/amrecover.c (main): Ditto. - * oldrecover-src/uscan.l (ll_parse_date): Ditto. - * recover-src/amrecover.c (main): Ditto. - * recover-src/uscan.l (ll_parse_date): Ditto. - * server-src/amflush.c (main): Ditto. - * server-src/reporter.c (handle_success): Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 470 - * client-src/sendsize.c (add_diskest): Check for level value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 372 - * server-src/reporter.c (nicedate): Check month value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 20 - * server-src/amadmin.c (tape): Limit nb_days to 10000. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 21 - * server-src/amadmin.c (balance): Test 'later' after it is set. - -2006-07-05 Jean-Louis Martineau - * common-src/alloc.c (internal_vstralloc): Don't return NULL. - -2006-07-05 Jean-Louis Martineau - * server-src/infofile.c (open_txinfofile): Use local variable. - -2006-06-29 Jean-Louis Martineau - * restore-src/restore.c (label_of_current_slot): Close the tapefd if - the label mismatch. - -2006-06-29 Jean-Louis Martineau - * server-src/find.c (strip_failed_chunks): - - Get a **output_find as parameter. - - Check the label before remove a valid chunk. - - Memory management fix. - -2006-06-28 Jean-Louis Martineau - * common-src/security-util.c: Improve message for .amandahosts. - -2006-06-27 Ian Turner - * common-src/fileheader.c: Fix a bug where spanned dumps would - always fail. - -2006-06-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix test for holdingdisk negative size. - -2006-06-27 Jean-Louis Martineau - * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set. - * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set. - * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set. - * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set. - * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set. - -2006-06-27 Jean-Louis Martineau - Patch by Paul Bijnens - * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK). - -2006-06-27 Jean-Louis Martineau - * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL. - * client-src/clientconf.c (client_getconf_byname): Ditto - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: check_file_overwite. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: Do the cleanup of the extract list - at the extraction time - * oldrecover-src/extract_list.c: Ditto. - -2006-06-22 Jean-Louis Martineau - * NEWS: Add new features. - * ReleasesNotes: New files. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt - amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt - * docs/amaespipe.8.txt: New file. - * docs/amcrypt.8.txt: New file. - * docs/amcrypt-asym-ossl.8.txt: New file. - * docs/amcrypt-ossl.8.txt: New file. - * docs/amfetchdump.8.txt: New file. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt. - * docs/howto-auth: Documentation on auth. - * docs/*.txt: Update from xml-docs - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c (is_empty_dir): New function. - * recover-src/extract_list.c: Print a warning if cwd is not empty. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Print errstr returned by match_disklist. - * server-src/amcheck.c: Print errstr returned by match_disklist. - * server-src/amflush.c: Print errstr returned by match_disklist. - * server-src/diskfile.c (match_disklist): Return an error str. - * server-src/diskfile.h (match_disklist): New prototype. - * server-src/planner.c: Print errstr returned by match_disklist. - * server-src/reporter.c: Accept host/disk as arguments. - -2006-06-22 Jean-Louis Martineau - * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before - executing sort. - -2006-06-22 Jean-Louis Martineau - * server-src/driver.c (wait_children, kill_children): New function. - * server-src/driver.c (wait_for_children): Use wait_children and - kill_children. - * server-src/driver.c (main): Use wait_children. - * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT - or ABORT command. - -2006-06-22 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_feedme_tape. - * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures. - * common-src/fileheader.c (print_header): Fix. - * recover-src/extract_list.c: Use fe_amrecover_feedme_tape. - * restore-src/amfetchdump.c: Print error if get_lock == 0. - * restore-src/amidxtaped.c: Call send_message if get_lock == 0. - * restore-src/restore.c: Split search_tapes in 5 functions. - * restore-src/restore.h (send_message): prototype. - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amfetchdump.8.xml: Document -O and new -o. - * restore-src/amfetchdump.c: Replace -o by -O - -2006-06-22 Jean-Louis Martineau - * client-src/clientconf.c (parse_client_conf): Fix segmentation fault. - * server-src/conffile.c (parse_server_conf): Fix segmentation fault. - -2006-06-21 Kevin Till - * changer-src/chg-juke.sh.in - * changer-src/chg-manual.sh.in - * changer-src/chg-mcutil.sh.in - * changer-src/chg-multi.sh.in - * changer-src/chg-mtx.sh.in - * changer-src/chg-rait.sh.in - * changer-src/chg-disk.sh.in - * changer-src/chg-zd-mtx.sh.in - * changer-src/chg-null.sh.in - * changer-src/chg-chs.sh.in - * client-src/patch-system.sh.in - * amplot/amplot.sh.in - * server-src/amcrypt-ossl.sh.in - * server-src/amrmtape.sh.in - * server-src/amcleanup.sh.in - * server-src/amverifyrun.sh.in - * server-src/amaespipe.sh.in - * server-src/amdump.sh.in - * server-src/amcrypt.sh.in - * server-src/amcrypt-ossl-asym.sh.in - * server-src/amcheckdb.sh.in - * server-src/amfreetapes.sh.in - * server-src/amverify.sh.in - change /bin/sh to @SHELL@ for configure to pick up the correct - shell. Sourceforge bug 1466655 - * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem - -2006-06-20 Kevin Till - * common-src/security-util.c: ignore EINTR in net_writev - patch by Jean-Louis Martineau. - -2006-06-20 John Franks - * server-src/conffile.c: - Remove Duplicate keyword table entries and alphabetize - to make future duplicates easier to spot... - - * server-src/taper.c: - Fix compiler warnings when no mmap function is present. - -2006-06-20 John Franks - * server-src/diskfile.c: - Default boolean values without parameters to yes if - no value is present in configuration file. This - maintains backward compatibility and is logical since - a value such as "index" reads as an assertion of fact. - -2006-06-19 Jean-Louis Martineau - * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1 - -2006-06-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: amrecover_check_label and - amrecover_do_fsf default to yes. - * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1. - * server-src/diskfile.c (parse_diskline): index set from - dumptype_get_index. - -2006-06-16 Jean-Louis Martineau - * server-src/amstatus.pl.in: Match quotes in DONE line. - -2006-06-16 Kevin Till - * example/amanda-client.conf.in: - correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER - * server-src/amcrypt-ossl-asym.sh.in: - set RANDFILE for openssl to place entropy file. - * server-src/amcrypt-ossl.sh.in: ditto - -2006-06-16 Jean-Louis Martineau - * amandad-src/amandad.c : Use strcasecmp to compare auth. - * client-src/selfcheck.c : Ditto - * client-src/sendbackup.c : Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/amindexd.c : Ditto - -2006-06-16 Jean-Louis Martineau - * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use - of arglist_start and arglist_end.. - * server-src/amindexd.c (lreply_backend): Remove function. - -2006-06-16 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Send error to the - callback. - -2006-06-16 Jean-Louis Martineau - * recover-src/extract_list.c: Typo. - * restore-src/restore.c: Typo. - -2006-06-16 Jean-Louis Martineau - * client-src/clientconf.c: Allow include. - * client-src/clientconf.c (read_confline): Don't crash. - * server-src/conffile.c (read_confline): Don't crash. - * recover-src/amrecover.c: Exit if error in conf file. - -2006-06-16 Jean-Louis Martineau - * common-src/arglist.h: Typo. - * recover-src/extract_list.c: handle MESSAGE from amidxtaped. - -2006-06-16 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_message. - * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message. - * common-src/arglist.h (printf_arglist_function3): Prototype. - -2006-06-16 Jean-Louis Martineau - * restore-src/restore.c (send_message): New function that send message - to stderr and/or amrecover. - * restore-src/restore.c: Call send_message on some error path. - -2006-06-16 Jean-Louis Martineau - * common-src/event.c (event_loop_wait, event_wait): Take an - event_handle_t * as parameter. - * common-src/event.h: New prototype. - * common-src/bsd-security.c: Call event_wait(bs->ev_read). - * common-src/krb4-security.c: Call event_wait(ks->ev_read). - * common-src/krb5-security.c: Call event_wait(ks->ev_read). - * common-src/security-util.c: Call event_wait(ss->ev_read). - -2006-06-15 Kevin Till - * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase - * server-src/amcrypt-ossl-asym.sh.in: export PATH - * server-src/amcrypt-ossl.sh.in: export PATH - - -2006-06-15 Jean-Louis Martineau - * server-src/amcheck.c: -w doesn't change the test selection. - * man/xml-source/amcheck.8.xml - -2006-06-15 Jean-Louis Martineau - * server-src/planner.c: Log empty disklist and no DLE selected. - -2006-06-14 Jean-Louis Martineau - * common-src/bsd-security.c: Use %u to print in_port_t data. - * common-src/bsdudp-security.c: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: Return the number of slot in output of - the -info command. - * changer-src/chg-zd-mtx.sh.in: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already - have the .conf suffix. - -2006-06-13 Jean-Louis Martineau - * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a - duplicate REQ. - -2006-06-13 Jean-Louis Martineau - * common-src/security-util.c (bsd_recv_security_ok): Set error only - if we get an error. - -2006-06-12 Jean-Louis Martineau - * server-src/driver.c: usetimestamps is a warning. - -2006-06-12 Kevin Till - * common-src/security-util.c: if host is 127.0.0.1 and either - localhost or localhost.domain is in .amandahost, hostmatch passes. - * common-src/security-util.h: update check_user_amandahosts prototype - -2006-06-12 Jean-Louis Martineau - * amandad-src/amandad.c (process_writenetfd): Close the pipe if the - security_stream is closed. - * recover-src/extract_list.c: Improve message if we don't get thei - FEATURE line from amidxtaped. - -2006-06-12 Jean-Louis Martineau - * recover-src/amrecover.c: Read amanda-client.conf and - /amanda-client.conf. - -2006-06-12 Jean-Louis Martineau - * common-src/security-util.c, common-src/tapelist.c, - restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c, - server-src/amtape.c, server-src/changer.c, server-src/driver.c, - server-src/planner.c, server-src/taper.c, - server-src/taperscan.c: Fix memory leak. - -2006-06-12 Jean-Louis Martineau - * restore-src/restore.c: Fix Adding at end of list. - -2006-06-12 Jean-Louis Martineau - * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL. - -2006-06-09 Jean-Louis Martineau - * server-src/holding.c (pick_datestamp): Fix reading user input. - -2006-06-09 Jean-Louis Martineau - * recover-src/amrecover.c (sigint_handler): Call send_command only if - amindexd is alive. - -2006-06-09 Jean-Louis Martineau - * common-src/util.c (connect_port): ETIMEDOUT is a fatal error. - -2006-06-09 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Get errno set - correctly. - * server-src/driver.c (handle_chunker_result): Don't assert(0) on - receive of a TRYAGAIN from a chunker, but set - chunker->result. - * server-src/dumper.c: Try gethostbyname("localhost") before calling - stream_client and log appropriate message. - -2006-06-09 Jean-Louis Martineau - * server-src/amcheck.c: Report ERROR if gethostbyname("localhost") - doesn't succeed. - -2006-06-08 Jean-Louis Martineau - * client-src/clientconf.c (add_client_conf): New function to map - normal option to their - -o equivalent. - * client-src/clientconf.h (add_client_conf): Prototype. - * man/xml-source/amrecover.8.xml: Document -o. - * recover-src/amrecover.c: Also read /amanda-client.conf - -2006-06-08 Jean-Louis Martineau - * server-src/diskfile.c (parse_diskline): Only return 0 or -1. - -2006-06-08 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add auth. - * amandad-src/amandad_util.c (init_g_options): Set auth to NULL. - * amandad-src/amandad_util.c (parse_g_options): Parse auth. - * amandad-src/amandad_util.c (free_g_options): Free auth. - * client-src/sendbackup.c: Get amandad_auth from command line and - compare with REQ packet. - * common-src/amfeatures.h (fe_amindexd_options_hostname, - fe_amindexd_options_features, - fe_amindexd_options_auth, - fe_amidxtaped_options_hostname, - fe_amidxtaped_options_features, - fe_amidxtaped_options_auth): New amfeatures. - * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures. - * recover-src/amrecover.c: Send auth in OPTIONS of req packet. - * recover-src/extract_list.c: Send auth in OPTIONS of req packet. - * restore-src/amidxtaped.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - * server-src/amindexd.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - -2006-06-08 Jean-Louis Martineau - * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error - from connect. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c: exec the service with the auth as parameter. - * amandad-src/amandad.c(writebuf): Do no close fd. - * client-src/selfcheck.c: Read the auth for the command line and - compare with the option string. - * client-src/selfcheck.c(main): Do no close 0,1,2 fd. - -2006-06-07 Jean-Louis Martineau - * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section. - * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml, - man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml, - man/xml-source/amreport.8.xml, - man/xml-source/amrestore.8.xml: Add -o option. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Merge from zmanda. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Remove a conftoken_ungetc. - -2006-06-07 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Merge with zmanda. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c(process_writenetfd): Call security_stream_read - only if size > 0. - -2006-06-07 Jean-Louis Martineau - * server-src/conffile.c (lookup_interface): Fix merge error. - -2006-06-07 John Franks - * common-src/amanda.h: - Fix isnormal() replacement macro to indirectly - check if a floating point value is != 0.0. - This prevents compiler warnings. - -2006-06-07 John Franks - * common-src/util.c - Put in "/* NOTREACHED */" comments after error() calls. - * server-src/diskfile.c - Change disktype index default to yes for backward compatibility. - -2006-06-06 John Franks - * amandad-src/amandad.c common-src/bsd-security.c: - Correct fix for infinite amandad loop. - -2006-06-06 John Franks - * common-src/stream.c common-src/util.c: - Lint clean again. - * server-src/conffile.c: - Remove replicated line - -2006-06-06 Jean-Louis Martineau - * common-src/util.c (conftoken_ungetc): Return the character. - * common-src/util.c (get_conftoken): Merge to allow escape character. - * common-src/util.c (read_block): Allow STRING as IDENT. - * server-src/conffile.c (getconf_long, getconf_size): New function. - * server-src/conffile.c: Cleanup after Merge. - -2006-06-06 Jean-Louis Martineau - * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/getconf.c, - server-src/reporter.c: Usage -o - * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Add call to report_bad_conf_arg. - * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END. - -2006-06-06 John Franks - * configure.in: - Increase checking level from 1 to 2 for SUN lint. - * client-src/amandates.c client-src/clientconf.c - common-src/security-util.c recover-src/amrecover.c - recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c - server-src/amlabel.c server-src/chunker.c server-src/conffile.c - server-src/conffile.h server-src/diskfile.c server-src/diskfile.h - server-src/driver.c server-src/holding.c server-src/reporter.c - server-src/tapefile.c server-src/taper.c tape-src/amdd.c: - Lint clean again. - * common-src/util.h common-src/util.c: - Lint clean again. - Add missing conftype size. - * common-src/bsd-security.c - Fix infinte loop which consumes all /tmp space and 1/2 - the CPU time when EOF is reached on socket. - -2006-06-05 Paddy Sreenivasan - * common-src/util.c: Fix warning - -2006-06-05 Jean-Louis Martineau - * restore-src/amfetchdump.c, server-src/amcheck.c, - server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in, - server-src/amdump.sh.in, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtrmidx.c, server-src/amtrmlog.c, - server-src/chunker.c, server-src/conffile.c, - server-src/diskfile.c, server-src/driver.c, - server-src/driverio.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c, - server-src/taperscan.c: Allow -o options and some memory fix. - * server-src/conffile.c(lookup_dumptype, lookup_tapetype, - lookup_interface): Use strcasecmp. - -2006-06-02 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Use connect_portrange. - * common-src/util.c (connect_portrange): First, try to connect with a - port already used. - * common-src/util.c (connect_port): Try to connect with a specific port. - * common-src/util.h: Cleanup. - -2006-06-02 Jean-Louis Martineau - * server-src/reporter.c: Remove empty if. - -2006-06-02 Jean-Louis Martineau - * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'. - * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface): - Read a CONF_NL after the call to read_block. - * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not - called from diskfile. - * server-src/diskfile.c: Don't loop on empty line after read_dumptype. - -2006-06-01 Kevin Till - * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL. - Thanks to Ben Slusky. - * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL. - * man/xml-source/amcrypt-ossl.8.xml: man page - * man/xml-source/amcrypt-ossl-asym.8.xml: man page - * configure.in: ditto - * man/Makefile.am: ditto - * man/entities/global.entities: ditto - * server-src/Makefile.am: ditto - -2006-06-01 John Franks - Eliminate Cygwin compile warnings. - * client-src/getfsent.c: Quiet unused parameter warnings. - * client-src/selfcheck.c: Quiet unused parameter warnings. - * common-src/security-util.h: Make hostname const char *. - -2006-06-01 Jean-Louis Martineau - * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t. - * server-src/find.c: result should be ssize_t. - -2006-06-01 Jean-Louis Martineau - * common-src/amanda.h: Remove am64_t. - * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c, - common-src/util.h, server-src/conffile.c, server-src/conffile.h: - Second pass of config cleanup, add function to parse -o argument. - * recover-src/amrecover.c: -o command argument. - * restore-src/restore.c: Use off_t instead of am64_t. - * server-src/amadmin.c: New config subcommand. -o command argument. - * server-src/amlabel.c: Fix memory leak. - * server-src/diskfile.c: Fix memory leak. - * server-src/diskfile.h: Rename no_hold to to_holdingdisk. - * server-src/driver.c: Many. - * server-src/planner.c: am64_t to off_t. - -2006-06-01 Jean-Louis Martineau - This is the first pass of a general rewrite of configuration file - parsing, It will now use array to store all options. - - * client-src/clientconf.c: - * client-src/clientconf.h: - * server-src/conffile.c: - * server-src/conffile.h: - * common-src/util.c: Many new functions. - * common-src/util.h: - - * restore-src/amidxtaped.c, server-src/amcheck.c, - server-src/amcleanupdisk.c, server-src/amlabel.c, - server-src/diskfile.c, server-src/driver.c, server-src/driverio.c, - server-src/find.c, server-src/holding.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Use new macro to get configuration option. - -2006-06-01 Jean-Louis Martineau - * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c, - client-src/selfcheck.c, client-src/sendsize.c, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/fileheader.c, - common-src/rsh-security.c, common-src/security-util.c, - common-src/security-util.h, common-src/ssh-security.c, - recover-src/extract_list.c, server-src/amcheck.c, - server-src/amindexd.c, server-src/amlogroll.c, - server-src/diskfile.c, server-src/driver.c, server-src/dumper.c, - server-src/find.c, server-src/logfile.c, server-src/planner.c, - server-src/reporter.c, - server-src/tapefile.c: Fix memory and fd leak. - -2006-06-01 Jean-Louis Martineau - * server-src/find.c (search_holding_disk): Take the datestamp from the - file, not the directory name, otherwise usetimestamps=no doesn't - work. - -2006-06-01 Jean-Louis Martineau - * common-src/stream.c (stream_server): New priv parameter if we want - a reserved port. Don't try to - get a reserved port if priv==0. - * common-src/stream.h (stream_server): New prototype. - * common-src/bsd-security.c: Call stream_server with priv==0. - * common-src/krb4-security.c: Call stream_server with priv==1. - * common-src/security-util.c: Call stream_server with priv==0. - * restore-src/amidxtaped.c: Call stream_server with priv==0. - * server-src/chunker.c: Call stream_server with priv==0. - * server-src/taper.c: Call stream_server with priv==0. - -2006-06-01 Jean-Louis Martineau - * server-src/diskfile.c: Return -1 if open of diskfile failed. - * server-src/driver.c: Change message if didn't get a DATE line. - * server-src/reporter.c: Ignore faillure in reading amanda.conf - disklist and tapelist. - -2006-05-29 Jean-Louis Martineau - * man/xml-source/amanda.8.xml: Documents service in .amandahosts. - -2006-05-29 Jean-Louis Martineau - Previous patch doesn't work because 'make -j2' will use fd 3. - * amandad-src/Makefile.am: Use a temporary file for output of - 'make listlibsrc'. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-29 Jean-Louis Martineau - * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-28 Paddy Sreenivasan - * tape-src/tapeio.c : Fixed warnings - * tape-src/output-rait.c : Fixed warnings - * tape-src/output-null.c : Fixed warnings - * tape-src/output-file.c : Fiexed warnings - * recover-src/amrecover.c: Fixed warnings - * recover-src/extract_list.c : Fixed warnings - * server-src/amadmin.c : Fixed warnings - * server-src/driver.c : Fixed warnings - * server-src/infofile.c : Fixed warnings - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c (read_dumptype): Parse SSH_KEYS. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (udp_inithandle): Remove bad merge. - * server-src/amindexd.c: Improve error message. - * server-src/planner.c: Add a space in output. - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c: Set dpcur.no_hold correctly, - Fix for conffile program. - -2006-05-26 Jean-Louis Martineau - Allow many services to share the same tcp connection for - bsdtcp/ssh/rsh. - Add a security_close_connection to the security-api. - * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to - control auth specific behaviour. - * common-src/bsd-security.c: Add sec_close_connection_none. - * common-src/bsdudp-security.c: Add sec_close_connection_none. - * common-src/krb4-security.c: Add sec_close_connection_none. - * common-src/krb5-security.c: Add sec_close_connection_none. - * common-src/security.h (security_close_connection): Prototype. - * common-src/security-util.h (sec_close_connection_none, - tcpm_close_connection): Prototype. - * common-src/security-util.h (struct tcp_conn): Add toclose. - * common-src/security-util.h (struct sec_stream): Add closed_by_me and - closed_by_network. - * common-src/security-util.c (sec_close_connection_none, - tcpm_close_connection): New function. - * common-src/security-util.c: Handle many services on one connection. - * common-src/bsdtcp-security.c: Handle many services on one connection. - * common-src/rsh-security.c: Handle many services on one connection. - * common-src/ssh-security.c: Handle many services on one connection. - * recover-src/amrecover.c: Add call security_close_connection. - * recover-src/extract_list.c: Add call security_close_connection. - * server-src/amcheck.c: Add call security_close_connection. - * server-src/dumper.c: Add call security_close_connection. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (bsd_prefix_packet): We need the username - of the getuid() user. - -2006-05-26 Jean-Louis Martineau - * common-src/fileheader.c: Parse datestamp on F_TAPEEND. - * restore-src/amrestore.c: Set read_result to the result of - read_file_header. - * restore-src/restore.c (read_file_header): Return a ssize_t. - Rename bytes_read by read_result. - Set read_result to the result of read_file_header. - * restore-src/restore.h (read_file_header): New prototype. - -2006-05-25 Jean-Louis Martineau - * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend. - -2006-05-25 Jean-Louis Martineau - * client-src/getfsent.c (print_entry): Add prototype. - * common-src/token.c (main): Shut up compiler warning. - * server-src/infofile.c (dump_rec, dump_db): Add prototype. - -2006-05-25 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/bsd-security.c, - common-src/bsdtcp-security.c, common-src/bsdudp-security.c, - common-src/event.c, common-src/krb5-security.c, - common-src/protocol.c, common-src/rsh-security.c, - common-src/security-util.c, common-src/ssh-security.c, - common-src/util.c, server-src/driver.c: comment debugging. - -2006-05-25 Jean-Louis Martineau - * common-src/security-util.c: typo. - * server-src/amcheck.c: Make sure all check are done. - -2006-05-25 Jean-Louis Martineau - Fix for program not compiled by default. - make bsdsecurity still not compile. - * common-src/bsd-security.c(bind_portrange): prototype change. - * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o. - * server-src/conffile.c: Many typo. - * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo. - -2006-05-25 Jean-Louis Martineau - * common-src/fileheader.c (validate_datestamp): Works for 8 characters - datestamp. - * common-src/security-util.c (tcpm_send_token): netlength must be - uint32_t. - * common-src/security-util.c (bsd_prefix_packet): Fix typo. - * common-src/util.c (get_time): Don't do computation for starttime. - * server-src/conffile.c (read_dumptype): Do computation for starttime. - -2006-05-25 Jean-Louis Martineau - * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync, - recv_token): Return ssize_t. - * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i - krb5_stream_auth): Shut up compiler. - * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX. - -2006-05-25 Jean-Louis Martineau - * configure.in(AM_INIT_AUTOMAKE): Fix. - -2006-05-25 John Franks - Pass user CFLAGS correctly to machine generated code and do not - enforce code quality checks on them. - * configure.in: - Put compiler code check flags into existing, but previously - unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should - now only contain mandatory flags. - - * recover-src/Makefile.am oldrecover-src/Makefile.am: - Use CFLAGS for compiling C code generated from uparse.y and uscan.l - -2006-05-24 John Franks - Add support for binary path names on disk and in configuration files. - (Allow spaces in filenames.) - - Allow quoted strings for disklist entries. - - Lint clean code using sun lint, splint and strict GCC warnings. - Type / size clean, dead code removal, portibility checks, etc. - Many checks are still turned off. See configure.in for lint flags used. - - Increase debug output in /tmp/amanda/*debug files. - - Set SO_REUSEADDR on sockets help avoid running out of ports. - - * configure.in: - Added lint program discovery with specific targets for SUN lint and splint. - Check each compiler option to see if GCC supports it. - Enable more code quality warnings. - Change missing xsltproc to warning rather than error. - Define _GNU_SOURCES to build flags. - Make size_t and time_t printf format macros. - Check for isnormal() availability. - Don't install man pages if they are not built. - Fix man pages to not attempt build or install if - --without-built-manpages is set. - - * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am - client-src/Makefile.am common-src/Makefile.am - oldrecover-src/Makefile.am recover-src/Makefile.am - restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am: - Add lint target. - - * common-src/amanda.h common-src/dgram.c common-src/stream.c - common-src/util.c: - Keep checking for ports on all bind errors. - Delay and retry a few times if all ports are busy. - Retry bind failures after all methods fail. - increase bind checking timeout to 30 minutes. - - * client-src/amandad.c - Issue wait when any child exits. (Get rid of defunct processes) - Stat() index file before using system command. - (shell is not reporting failure if index is not present) - - * recover-src/extract_list.c: - Fix problem of 'add *' not adding directories. - Fix problem of freeing pointer not obtained through malloc. - Touch up file addition to actually use the file names - retrieved when adding a directory and not the directory itself. - - * server-src/taper.c - Strenghten error recovery for broken syncpipes and writer errors. - - * changer-src/chg-scsi-chio.c client-src/amandates.c - client-src/client_util.c client-src/findpass.c client-src/getfsent.c - client-src/selfcheck.c client-src/sendbackup-gnutar.c - client-src/sendbackup-star.c client-src/sendbackup.c - client-src/sendsize.c common-src/bsd-security.c common-src/file.c - common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c - server-src/diskfile.c server-src/driver.c server-src/dumper.c - server-src/holding.c server-src/infofile.c server-src/logfile.c - server-src/tapefile.c: - allow empty lines in input streams. - - * recover-src/uparse.y - print message when input is garbage. - - * server-src/getconf.c: - Define HOSTNAME_INSTANCE if it was not already defined - for Kerberos. - - * configure.in: Make readline warning less specific. Readline is - used by all input from terminal now. - -2006-05-24 Kevin Till - * client-src/sendbackup.c: ignore SIGINT - * common-src/ssh-security.c: add to total only when n > 0 - * common-src/ssh-security.c: add ssh to error, - retry writev when EINTR, EAGAIN is seen - to STDOUT. exit when options is chosen in template mode. - * server-src/driver.c: make sure timestamp is not null - * amanda/configure.in: remove template.d/amanda.conf which is a dup - of amanda-harddisk.conf - * example/Makefile.am: add template.d/README - * amanda-harddisk.conf.in: set tapedev - * recover-src/amrecover.c: aclose socket before exit. - * recover-src/extract_list.c: ditto - * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README - in the failure cases. <> user input field. - * server-src/amcheck.c: no quoted text is a warning - * server-src/driver.c: no need to amfree qname - argument. Search mtx in PATH too. - * example/template.d/advanced.conf.in: fix comment for autoflush - * example/template.d/advanced.conf.in: add usetimestamps - * server-src/diskfile.c: to catch unsupported compress-encryption - combination and abort amdump gracefully. - * man/xml-source/amanda.conf.5.xml: fix syntax, add - dumptype references. - * man/xml-source/amanda.8.xml: fix syntax - * configure.in: ditto - * man/Makefile.am: ditto - * example/amanda.conf.in: tidy up - * man/xml-source/amaespipe.8.xml: add uuencode as requirement - * man/xml-source/amcrypt.8.xml: add uuencode as requirement - * server-src/amcheck.c: catch dumptype misconfiguration - * server-src/diskfile.c: ditto - * server-src/driverio.c: ditto - * server-src/planner.c: ditto - * server-src/conffile.c: check includefile before calling - read_conffile_recursively - * example/amanda.conf.in: add public-key encryption dumptype example - * man/xml-source/amanda.8.xml: fix some formatting - * server-src/planner.c: adjust setuid() calling sequences so that ssh can work - * server-src/dumper.c: ditto - * configure.in: add LOW_TCPPORTRANGE for amrecover - * common-src/stream.c: use LOW_TCPPORTRANGE - * server-src/amdump.sh.in: check if config is supplied - * man/xml-source/amrestore.8.xml: add notes on "-f" option - -2006-05-24 Ian Turner - * configure.in: Properly document --without-xsltproc as itself, - and not the (nonexistant) option --without-built-manpages. - -2006-05-16 John Franks - * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c - common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c - common-src/krb5-security.c common-src/match.c common-src/packet.c - common-src/security-util.c common-src/security-util.h - common-src/security.h common-src/util.c oldrecover-src/Makefile.am - oldrecover-src/set_commands.c recover-src/amrecover.c - recover-src/extract_list.c server-src/conffile.c server-src/driver.c - server-src/dumper.c server-src/planner.c server-src/reporter.c: - Minimal changes to get tree to compile along with some more - debugging output. - -2006-05-15 Jean-Louis Martineau - * server-src/amadmin.c (disklist_one): print spindle. - -2006-05-12 Jean-Louis Martineau - * commmon-src/bsd-security.c: Typo. - -2006-05-12 Jean-Louis Martineau - * common-src/Makefile.am (noinst_HEADERS): Add security-util.h. - -2006-05-12 Jean-Louis Martineau - Build a big tok_t enum for server and client config. - * client-src/clientconf.c: Move many things to util.c. - * client-src/clientconf.h: Remove extern variable. - * common-src/util.c: Add common part of clientconf.c and conffile.c - * common-src/util.h: Prototype. - * server-src/conffile.c: Move many things to util.c. - * server-src/diskfile.c(disk_parserror): Rename from parserror. - * server-src/taper.c: Make many variable static. - -2006-05-12 Jean-Louis Martineau - * restore-src/restore.c: Fix use of possibly NULL input. - -2006-05-12 Jean-Louis Martineau - * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from - configuration. - * server-src/amadmin.c(disklist_one): Print ssh_keys. - * server-src/conffile.c(SSH_KEYS): Parse new dumptype option. - * server-src/conffile.h(dumptype_t): Add ssh_keys. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add ssh_keys. - * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP - command to the dumper. - * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys. - * server-src/server_util.c(amhost_get_security_conf): Return the - ssh_keys. - -2006-05-12 Jean-Louis Martineau - * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp. - * common-src/bsd-security.c: Use security-util.c. - * common-src/bsdtcp-security.c: New security-api. - * common-src/bsdudp-security.c: New secutity-api. - * common-src/krb4-security.c: Use security-util.c. - * common-src/krb5-security.c: Use security-util.c. - * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c, - bsdtcp-security.c - and security-util.c. - * common-src/protocol.c: Debuging cleanup. - * common-src/rsh-security.c Use security-util.c. - * common-src/security.c: Use bsdtcp_security_driver - and bsdudp_security_driver. - * common-src/security.h(accept): New prototype. - * common-src/security-util.c: Many common function for security-api. - * common-src/security-util.h: many prototype for security-api. - * common-src/ssh-security.c Use security-util.c. - * common-src/stream.c (stream_client_internal): Call connect_portrange. - * common-src/util.c (make_socket): Make a socket. - * common-src/util.c (connect_portrange): Make a socket, bind it and - connect. - * common-src/util.h (connect_portrange): Prototype. - * configure.in: new --with-bsdtcp-security and --with-bsdudp-security. - -2006-05-10 Jean-Louis Martineau - Patch by - * man/xml-source/amrecover.8.xml: Document listhost command. - -2006-05-08 Jean-Louis Martineau - Patch by - * server-src/amindexd.c: new LISTHOST command. - * recover-src/set_commands.c (list_host): New function. - * recover-src/amrecover.h (list_host): Prototype. - * recover-src/help.c (list_host): Print help. - * recover-src/uscan.l: Parse listhost command. - * recover-src/uparse.y: LISTHOST command. - * oldrecover-src/set_commands.c (list_host): New function. - * oldrecover-src/amrecover.h (list_host): Prototype. - * oldrecover-src/help.c (list_host): Print help. - * oldrecover-src/uscan.l: Parse listhost command. - * oldrecover-src/uparse.y: LISTHOST command. - -2006-05-08 Ian Turner - * server-src/amcheck.c: Make it an error when the expected new - tape cannot be found. Thanks to Paul Bijnens - for the patch and to Jason L - Tibbitts III for noticing this problem. - -2006-05-08 Jean-Louis Martineau - * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize - for nativa and compressed estimate size. - * planner.c: Send the native and compressed estimate size to the driver. - * driver.c: log with L_STATS the estimate of a successful dump. - * reporter.c: Parse the L_STATS. - * reporter.c(generate_bad_estimate): New function that will put in the - NOTES section all bad estimate. - -2006-05-08 Jean-Louis Martineau - * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile. - * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src. - * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c - * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h - * oldrecover-src/display_commands.c: Copy of old - recover-src/display_commands.c - * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c - * oldrecover-src/help.c: Copy of old recover-src/help.c - * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am - * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c - * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y - * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l - * recover-src/amrecover.c: Works with security-api. - * recover-src/amrecover.h: Works with security-api. - * recover-src/extract_list.c: Works with security-api. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c: Fixup. - -2006-05-08 Jean-Louis Martineau - * common-src/packet.h: pkt_t.body is now a char*. - * common-src/packet.c (pkt_init): Return an alloced pkt.body. - * common-src/packet.c (pkt_cat): Increade pkt.body size if needed. - * common-src/protocol.c: Free allocated pkt.body. - * common-src/dgram.c (dgram_cat): Return int. - * common-src/dgram.h (dgram_cat): New prototype. - * common-src/krb5-security.c: Work with dynamicaly allocated packet - body. - * common-src/rsh-security.c: Work with dynamicaly allocated packet - body. - * common-src/ssh-security.c: Work with dynamicaly allocated packet - body. - * amandad-src/amandad.c: Work with dynamicaly allocated packet body. - * server-src/amcheck.c: Don't limit packet size. - * server-src/planner.c: Don't limit packet size. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Apply the correct patch. - -2006-05-08 Jean-Louis Martineau - * server-src/taper.c: Fix compiler warning. - * common-src/match.c: Many function get const parameters. - * common-src/amanda.h: Prototype change. - -2006-05-07 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[] - and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to - DATA_FD_OFFSET+DATA_FD_COUNT-1. - -2006-05-05 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Remove bad amfree. - -2006-05-05 Nikhil Bandiwadekar - * server-src/conffile.c: fix to correctly handle am64 datatype - -2006-05-04 Jean-Louis Martineau - * server-src/taper.c: Write the slot number in the - 'taper: wrote label' line. - * server-src/amverifyrun.sh.in: Parse that line. - -2006-05-02 Jean-Louis Martineau - * amstatus.pl.in: Limit characters for hostname in setup_estimate line. - -2006-04-27 Jean-Louis Martineau - * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option - to amandad. - * common-src/ssh-security.c: Ditto. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Accept a list of services on the command line. - -2006-04-27 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Fix memory leak. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Fix memory leak. - * amandad-src/amandad.h (free_g_options): Prototype. - * amandad-src/amandad_util.c (free_g_options): New function to free a - g_option_t. - * server-src/amcleanupdisk.c: Fix memory leak. - * server-src/reporter.c: Fix memory leak. - * server-src/tapefile.c: Fix memory leak. - * server-src/taperscan.c: Put message in error_message. - -2006-04-26 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Memory leak. - -2006-04-26 Jean-Louis Martineau - * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h. - * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h. - -2006-04-26 Jean-Louis Martineau - * man/xml-source/amanda-client.conf.5.xml: New file. - -2006-04-26 Jean-Louis Martineau - * common-src/amanda.h (check_user_ruserok, check_user_amandahosts): - Remove prototype. - * common-src/bsd-security.c: Pass the service name across check_user* - function and validate it from the .amandahosts file. - -2006-04-26 Jean-Louis Martineau - * restore-src/amidxtaped.c: Can be launched by amandad. - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad. - * restore-src/restore.c: Fix indentation. - -2006-04-26 Jean-Louis Martineau - * server-src/amindexd.c: Can be launched by amandad - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amindexd_LDADD): Link with libamandad. - -2006-04-26 Jean-Louis Martineau - * amandad-src/amandad.c: New file. - * amandad-src/amandad.h: New file. - * amandad-src/amandad_util.c: New file, add function init_g_options - parse_g_options. - * amandad-src/Makefile.am: New file. - * client-src/amandad.c: Removed file. - * client-src/amandad.h: Removed file. - * client-src/client_util.c (init_g_options, parse_g_options): Remove. - * client-src/client_util.h (init_g_options, parse_g_options): Remove. - * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src - * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad. - * client-src/Makefile.am (LDADD): Add - ../amandad-src/libamandad.$(LIB_EXTENSION). - * client-src/selfcheck.c: #include "amandad.h". - * client-src/sendsize.c: #include "amandad.h". - * configure.in (AC_CONFIG_FILES): amandad-src/Makefile. - * Makefile.am (SUBDIRS): amandad-src. - -2006-04-26 Jean-Louis Martineau - * docs/security-api.txt: Document security_read_sync. - * common-src/security.h: Typo. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c (service_new): Pass the "amandad" argument to - the service. - -2006-04-26 Jean-Louis Martineau - * common-src/bsd-security.c: Allow to run many services on the same - client. Cleanup. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - -2006-04-26 Jean-Louis Martineau - * common-src/security.h (security_stream_read_sync): Prototype. - * common-src/bsd-security.c (bsd_stream_read_sync): New function. - * common-src/krb4-security.c (krb4_stream_read_sync): New function. - * common-src/krb5-security.c (krb5_stream_read_sync): New function. - * common-src/rsh-security.c (rsh_stream_read_sync): New function. - * common-src/ssh-security.c (ssh_stream_read_sync): New function. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c: Open pipe in both direction to the services. - * client-src/sendbackup.c: Deal with the newer pipe. - -2006-04-26 Jean-Louis Martineau - * client-src/clientconf.c: New file to read the client configuration - file. - * client-src/clientconf.h: Header. - * client-src/Makefile.am: Link clientconf into libamclient. - * configure.in (AC_CONFIG_FILES): example/amanda-client.conf. - * docs/amanda-client.conf.5.txt: New documentation. - * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt. - * example/amanda-client.conf.in: exemple. - * example/Makefile.am (noinst_DATA): amanda-client.conf. - * man/entities/global.entities: amclientconf. - * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5. - * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5). - -2006-04-26 K. K. George - * server-src/reporter.c: Fix to untaint the mailto parameter. - * server-src/amcheck.c: Fix to untaint the mailto parameter - * changer-src/chg-scsi.c: Fix to untaint the mailto parameter. - * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter. - * common-src/util.h: Added function to check if the mailto - parameter is untainted - * common-src/util.c: Added function to check if the mailto - parameter is untainted - -2006-04-26 Jean-Louis Martineau - * common-src/event.c(event_wait): New function. - * common-src/event.h(event_wait): prototype. - * docs/eventapi.txt: Document event_wait. - -2006-04-24 Jean-Louis Martineau - * server-src/planner.c: Fix divide by zero if runtapes==0. - -2006-04-24 K. K. George - * server-src/reporter.c: Fix to make the mailto parameter in - amanda.conf optional. Added two more commandline options - -i & -Maddress. - * server-src/amcheck.c: Fix to make the mailto parameter in - amanda.conf optional. - * man/xml-source/amreport.8.xml: Modified to document the - -i & -Maddress commandline parameters - * docs/amreport.8.txt: Modified to document the - -i & -Maddress commandline parameters - * changer-src/chg-scsi.c: Fix to make the mailto parameter in - amanda.conf optional. - * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in - amanda.conf optional. - -2006-04-23 Jean-Louis Martineau - * server-src/driver.c (handle_chunker_result): make sure that - est_size > act-size. - -2006-04-21 Jean-Louis Martineau - * server-src/changer.c (changer_command): Make sure fd[0] != 1. - -2006-04-19 Jean-Louis Martineau - * restore-src/amidxtaped.c: Cleanup. - -2006-04-19 Ian Turner - * tape-src/output-tape.c: Do a more thourough check to ensure - that we actually got a tape device, before proceeding to use - it. - -2006-04-18 Ian Turner - * changer-src/chg-disk.sh.in: Check that the virtual device is a - directory with proper permissions. - * server-src/changer.c: Do the right thing (failure) if there is - a problem with the changer. - -2006-04-18 Ian Turner - * recover-src/uscan.l: Accept setdate of the form - yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss. - * man/xml-source/amrecover.8.xml: Document this change. - -2006-04-14 Jean-Louis Martineau - * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format. - * man/xml-source/amrecover.8.xml: Ditto. - -2006-04-14 Jean-Louis Martineau - * client-src/amandad.c: Use %p to printf pointer. - -2006-04-14 Jean-Louis Martineau - * server-src/amtape.c: Add update command. - -2006-04-11 Jean-Louis Martineau - * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if - no valid tape are found. - -2006-04-11 Jean-Louis Martineau - * server-src/amcheck.c: Call taper_scan with - (..., FILE_taperscan_output_callback,outf) arguments. - * server-src/amtape.c: Call taper_scan with - (..., FILE_taperscan_output_callback,stderr) arguments. - * server-src/taper.c: Call taper_scan with - (..., CHAR_taperscan_output_callback, &error_msg) arguments. - * server-src/taperscan.h(FILE_taperscan_output_callback, - CHAR_taperscan_output_callback): Protoype. - * server-src/taperscan.h(taper_scan): New protoype, remove - error_message arg, add taperscan_output_callback and data arg. - * server-src/taperscan.c(FILE_taperscan_output_callback): Callback - that print the msg to it's arg, which is FILE*. - * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback - that append the msg to it's arg, which is char*. - * server-src/taperscan.c(taper_scan): Fix for new arguments. - * server-src/taperscan.c(changer_taper_scan): Fix for new arguments. - -2006-04-11 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Document amandad_path and - client_username dumptype option. - -2006-04-11 Jean-Louis Martineau - * common-src/krb4-security.c: Increase timeout to 60 seconds. - * common-src/rsh-security.c: Increase timeout to 60 seconds. - * common-src/ssh-security.c: Increase timeout to 60 seconds. - -2006-04-07 Jean-Louis Martineau - * server-src/conffile.c: New configuration option usetimestamps. - * server-src/conffile.h: New configuration option usetimestamps. - * example/amanda.conf.in: Document new usetimestamps options. - * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options. - * server-src/amflush.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/planner.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/driver.c: Log an ERROR if many run a day and - usetimestamps us set to no. - -2006-04-07 Ian Turner - * server-src/changer.c: Don't crash if we go to taperscan "Plan - B". - -2006-04-07 Ian Turner - * server-src/changer.c: Only print changer debug messages if - there was a problem. - -2006-04-07 Ian Turner - * recover-src/amrecover.c: Print a more helpful command if mount - point autodetection fails. - * recover-src/display_commands.c: Print a more helpful message - if the user tries to ls without having setdisk earlier. - -2006-04-07 Jean-Louis Martineau - * server-src/amadmin.c: Fix use of datestamp as int. - * server-src/find.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - -2006-04-07 Jean-Louis Martineau - * common-src/Makefile.am: Fix dependency between genversion and - versuff.o. - -2006-04-07 Jean-Louis Martineau - * recover-src/amrecover.c: Change initialization of server_name and - tape_server_name. - -2006-04-07 Jean-Louis Martineau - * restore-src/amrestore.c: reset count_error to 0 on a restore. - -2006-04-06 Kevin Till - * server-src/Makefile.am: always install planner/dumper setuid-root - * server-src/amcheck.c: check planner/dumper for setuid-root - * server-src/dumper.c: drop privilege asap. Switch between bsd - and ssh auth is now possible with the same installation. - * server-src/planner.c: ditto - -2006-04-06 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the - changer_loadslot call. - -2006-04-06 Jean-Louis Martineau - * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp - test with an int. - -2006-04-06 Ian Turner - * recover-src/amrecover.c (main): Check AMANDA_SERVER and - AMANDA_TAPE_SERVER environment variables before falling back - to compiled-in defaults. Document this new behavior. Thanks to - Malcolm Locke for the idea and patch. - -2006-04-06 Jean-Louis Martineau - * server-src/reporter.c (handle_chunk): CHUNK line always have the - datestamp. - -2006-04-05 Jean-Louis Martineau - * server-src/krb5-security.c: Fix for krb5_connect call in - open_callback. - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Recover correctly if the - chunker reply with something that is not a PORT command. - * server-src/driver.c (dump_to_tape): remove duplicate free_serial. - * server-src/driverio.c: Improve debugging. - -2006-04-05 Jean-Louis Martineau - * common-src/tapelist.c(unmarshal_tapelist_str): Fix - "value computed is not used" compiler warning. - -2006-04-05 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect): New datap argument. - * common-src/krb4-security.c (krb4_connect): New datap argument. - * common-src/krb5-security.c (krb5_connect): New datap argument. - * common-src/rsh-security.c (rsh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/ssh-security.c (ssh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/protocol.c: Pass new datap argument to security_connect. - * common-src/security.h(connect): New prototype. - * common-src/security.h(security_connect): Add datap to macro. - * server-src/amadmin.c(disklist_one): Print amandad_path and - client_username. - * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new - dumptype option. - * server-src/conffile.h(dumptype_t): Add amandad_path and - client_username. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add amandad_path and client_username. - * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and - dp->client_username in a PORT_DUMP command to the dumper. - * server-src/dumper.c: Parse amandad_path and client_username in a - PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): New function to return - configuration option to the security-api. - * server-src/dumper.c: Use dumper_get_security_conf for the callback - to protocol_sendreq. - * server-src/planner.c Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/amcheck.c: Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/server_util.c(amhost_get_security_conf): New function to - return configuration option to the security-api, - it expect an am_host_t arg. - * server-src/server_util.h(amhost_get_security_conf): Prototype. - -2006-04-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Remove duplicate instruction. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c: Remove all code that set str_buffer_size, - rename str_buffer_size to reply_buffer_size, - rename buf to reply_buffer, - * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer - size if required. - -2006-04-05 Jean-Louis Martineau - * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature. - * common-src/amfeatures.c (am_init_feature_set): - Add fe_amrecover_timestamp. - * server-src/amindexd.c(opaque_ls_one): New function. - * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a - datestamp if client doesn't have fe_amrecover_timestamp. - -2006-04-05 Jean-Louis Martineau - * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS". - * server-src/amindexd.c (cmp_date): New function to cmp datestamp with - timestamp, use it where needed. - * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp. - * server-src/amtrmidx.c: Fix for timestamp. - * server-src/disk_history.h (DUMP_ITEM): Increase size of date. - -2006-04-05 Jean-Louis Martineau - * server-src/amflush.c: Send DATE line to driver, use timestamp. - * server-src/amindex.c (getindexfname): Increase datebuf size. - * server-src/amtrmlog.c: Fix bug with date_keep computation if - dumpcycle is INF. - * server-src/amtrmlog.c: rotate timestamped log file. - * server-src/chunker.c: Receive START cmd, use timestamp. - * server-src/driver.c: Receive DATE line, send START cmd to chunker, - use timestamp. - * server-src/driverio.c (startup_dump_processes): Send START cmd to - dumper. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command. - * server-src/driverio.h (startup_dump_processes): Prototype change, - need the timestamp. - * server-src/dumper.c: Receive START cmd, use timestamp. - * server-src/find.c (find_nicedate): Fix for timestamp. - * server-src/planner.c: Send DATE line to driver, use timestamp. - * server-src/server_util.c (cmdstr): Add START. - * server-src/server_util.h (cmd_t): Add START. - * server-src/taper.c: Get timestamp from TAPER_START command. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c (amindexd_nicedate): New function. - * server-src/find.h (struct find_result_s): Remove datestamp and - datestamp_aux field, only timestamp will be used. - * restore-src/amfetchdump.c: Convert datestamp to 'char *'. - * restore-src/restore.c: Convert datestamp to 'char *'. - * server-src/amindexd.c: Convert datestamp to 'char *'. - * server-src/amlabel.c: Convert datestamp to 'char *'. - * server-src/amtrmidx.c: Convert datestamp to 'char *'. - * server-src/find.c: Convert datestamp to 'char *'. - * server-src/reporter.c: Convert datestamp to 'char *'. - * server-src/tapefile.c: Convert datestamp to 'char *'. - * server-src/tapefile.h: Convert datestamp to 'char *'. - * server-src/taper.c: Convert datestamp to 'char *'. - -2006-04-05 Jean-Louis Martineau - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1). - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c: Change expression to remove overflow. - -2006-03-29 Jean-Louis Martineau - * client-src/calcsize.c: Don't use declaration after instruction, - older compiler don't accept it. - -2006-03-23 Jean-Louis Martineau - * Amanda 2.5.0 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0). - * NEWS: Update for 2.5.0 - -2006-03-22 Jean-Louis Martineau - * server-src/dumper.c: wait for compress/index/encryp subprocess. - -2006-03-22 Jean-Louis Martineau - * server-src/amstatus.pl.in: Parse PARTIAL reply. - -2006-03-22 Jean-Louis Martineau - * server-src/driver.c: Put '#define HOLD_DEBUG' in comment. - -2006-03-21 Jean-Louis Martineau - * server-src/chunker.c: Don't loop on startup_chunker. - * server-src/dumper.c: Don't wait for all children, some process (ssh) - might not terminate. - -2006-03-17 Ian Turner - * server-src/taper.c (read_file): When finished flushing a - chunked dump, print information about the whole dump, not just - the last chunk. Also, fix some memory leaks. - -2006-03-16 Kevin Till - * server-src/amverify.sh.in: check for EOI. amrestore only - reports EOI for some tapetypes. - -2006-03-15 Jean-Louis Martineau - * server-src/conffile.c: Fix heritage of auth. - -2006-03-14 Kevin Till - * example/amanda.conf.in: add dumptype custom-compress. - add ssh,krb5 as valid input for auth. - * man/xml-source/amanda.conf.5.xml: give reference to - custom-compress, encrypt-fast dumptypes. - -2006-03-14 Jean-Louis Martineau - * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to - fe_amrecover_FEEDME - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_FEEDME. - * restore-src/restore.h (search_tapes): Add their_features parameter. - * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call. - * restore-src/amidxtaped.c: Add their_features to search_tapes call. - * restore-src/restore.c (search_tapes): Send FEEDME only if client - support it. - -2006-03-11 Jean-Louis Martineau - * server-src/driverio.c : Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/taperscan.c: Fix Coverity fix. - -2006-03-10 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/driverio.c: Undo my bad fix. - * server-src/infofile.c: Fix errors found using Coverity tools. - * tape-src/tapetype.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * restore-src/restore.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/holding.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - -2006-03-09 John Franks - * changer-src/chg-scsi.c: Fix errors found using Coverity tools. - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * changer-src/sense.c: Fix errors found using Coverity tools. - * client-src/sendbackup-dump.c: Fix errors found using Coverity tools. - * client-src/sendbackup.c: Fix errors found using Coverity tools. - * recover-src/display_commands.c:Fix errors found using Coverity tools. - * regex-src/regcomp.c: Fix errors found using Coverity tools. - * restore-src/restore.c: Fix errors found using Coverity tools. - * server-src/amindexd.c: Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/driver.c: Fix errors found using Coverity tools. - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/infofile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taper.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - * server-src/conffile.c: Change report default to use at least - one space between every column. - -2006-03-08 Jean-Louis Martineau - * client-src/amandad.c: Fix coverity bug. - * client-src/calcsize.c: Fix coverity bug. - * client-src/client_util.c: Fix coverity bug. - * client-src/sendbackup.c: Fix coverity bug. - * client-src/sendsize.c: Fix coverity bug. - * common-src/bsd-security.c: Fix coverity bug. - * common-src/file.c: Fix coverity bug. - * common-src/fileheader.c: Fix coverity bug. - * common-src/pipespawn.c: Fix coverity bug. - * recover-src/extract_list.c: Fix coverity bug. - * restore-src/restore.c: Fix coverity bug. - * server-src/amindexd.c: Fix coverity bug. - * server-src/conffile.c: Fix coverity bug. - * server-src/diskfile.c: Fix coverity bug. - * server-src/driverio.c: Fix coverity bug. - * server-src/dumper.c: Fix coverity bug. - * server-src/planner.c: Fix coverity bug. - * server-src/reporter.c: Fix coverity bug. - -2006-03-07 Paddy Sreenivasan - * man/xml-source/amanda.8.xml: added amaespipe and amcrypt. - -2006-03-07 Jean-Louis Martineau - * server-src/taper.c: Don't log a multi-line message in no-tape case. - -2006-03-06 John Franks - * recover-src/extract_list.c: - 1) Don't add '.' directory twice to tar extract list. - 2) Don't prepend extra '/' to extract patterns starting with '/'. - 3) Convert "/" extract pattern to "*" equivalent. - -2006-03-06 Jean-Louis Martineau - * server-src/taperscan.c (scan_slot): append slotstr to - ct->error_message. - * server-src/taperscan.c: Add a '\n' after each slot error message. - -2006-03-06 Jean-Louis Martineau - * server-src/reporter.c (handle_error): Handle error from taper. - -2006-03-06 Jean-Louis Martineau - * server-src/taper.c (label_tape): Set errstr and return 0 if no - valid tape are available. - -2006-03-03 Ian Turner - * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and - MAX_TAPE_LABEL_BUF. - * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME - * recover-src/extract_list.c: Accept port number with CONNECT; - implement fe_amidxtaped_FEEDME. - * restore-src/amidxtaped.c: Introduce port number with CONNECT. - (closes SF bug 1431623) - * restore-src/restore.c: Implement fe_amidxtaped_FEEDME. - (closes SF bug 1421433) - * restore-src/restore.h: Properly name rst_flags. - -2006-02-28 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main): - Set bh->proto_handle to NULL after allocating bh. - * common-src/bsd-security.c (bsd_close): Donothing if - bh->proto_handle == NULL. - -2006-02-28 Jean-Louis Martineau - * common-src/protocol.c (s_repwait): Decrease p->timeout on receive - of a PREP. - -2006-02-28 Jean-Louis Martineau - * server-src/driver.c: Print dumper TRY_AGAIN message. - -2006-02-28 Jean-Louis Martineau - * server-src/planner.c: Don't print estimate size if estimate failed. - -2006-02-25 Ian Turner - * man/Makefile.am: Don't use static patterns (as they are not - portable), use implicit rules instead. - -2006-02-20 Kevin Till - * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to - Orion Poplawski. - * common-src/krb5-security.c: ditto. - -2006-02-16 Kevin Till - * example/amanda.conf.in: dumptype option is "encrypt" - * man/xml-source/amanda.conf.5.xml: ditto - * server-src/holding.c: util.h is include'd twice - * common-src/ssh-security.c: set correct debug print - -2006-02-10 Kevin Till - * man/xml-source/amanda.8.xml: replace informaltable with literallayout - -2006-02-13 John Franks - * server-src/driver.c: Pring a more precise message when taper - returns an error. Include error message from taper in log. - Print out "protocol error" if taper returns a bogus command. - -2006-02-10 Kevin Till - * man/xml-source/amanda.conf.5.xml: add note about first character of a - tapetype string must be alphabet - -2006-02-10 John Franks - * server-src/taper.c: Call error() if an invalid string is read - by syncpipe_getstr(). - -2006-02-09 John Franks - * Makefile.am, */Makefile.am: Corrections generated by David Braun - dustybird@users.sourceforge.net to properly set source directories - for remote (VPATH) builds. - * man/Makefile.am: Fixed man page builds to use proper source and - build paths. - * autogen: Force rebuilding everything and print only syntax errors. - (Errors are seen occasionally in system autogen files...) - * configure.in: Eliminate possibility of empty string in shell tests. - fix quoting of '[' and ']' characters in help messages. - Fix default value for DUMPER_DIR to pick up EPREFIX correctly. - -2006-02-08 Ian Turner - * server-src/driver.c (handle_taper_result): Properly handle - SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug. - Also reindent. - -2006-02-06 Kevin Till - * restore-src/restore.c: fix comment formatting on version 1.2.1 - -2006-02-06 Kevin Till - * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used - * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security - * server-src/amcheck.c: ditto - * server-src/dumper.c: ditto - * restore-src/restore.c: add missing "}" - -2006-02-06 Ian Turner - * restore-src/amidxtaped.c: Properly handle changers, - tape-label checking, and tape prompting in amrecover, - amindexd, and amidextaped. Thanks to Paul Bijnens - for the patch. - * restore-src/restore.c: ditto. - * server-src/amindexd.c: ditto. - -2006-02-04 Paddy Sreenivasan - * man/xml-source/amfetchdump.8.xml - * man/xml-source/amcrypt.8.xml - * man/xml-source/amanda.conf.5.xml - * man/xml-source/amanda.8.xml - * man/xml-source/amaespipe.8.xml - * man/entities/global.entities: Merged changes from xml-docs tree - -2006-02-03 John Franks - * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line. - -2006-02-03 Ian Turner - * server-src/amadmin.c (main): Don't free conf_tapelist too - early. Thanks to Cédric Lucantis - for the patch. - -2006-02-02 Kevin Till - * man/xml-source/amanda.8.xml: fix formatting. problem - to be fixed. - * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes. - -2006-02-02 Ian Turner - * recover-src/extract_list.c (extract_files_child): Run tar with - --numeric-owner if we are extracting a non-sambafied tar file. - Thanks to Paul Bijnens for - the patch. Thanks also to Mark Schaefer for suggesting this - change. - -2006-02-01 Jean-Louis Martineau - * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable, - cast size_t to am64_t and use AM64_FMT to printf them. - -2006-01-31 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0 - before adding it to tapeq. - -2006-01-27 Ian Turner - * configure.in: Add new option --without-xsltproc (and - --with-xsltproc), which turns off (or forces) the use of xsltproc to - build manpages. Thanks to Paul Bijnens - for suggesting this feature. - -2006-01-27 Ian Turner - * restore-src/amfetchdump.c: Properly clean up logfiles. Also, - run as user amanda even if we are started as some other user. - Thanks to Paul Bijnens for the - patch. - -2006-01-25 Paddy Sreenivasan - * common-src/amanda.h: Removed unnecessary header include files. - -2006-01-25 Kevin Till - * server-src/amadmin.c: fix for sourceforge bug 1412698 - add missing parameters to "amadmin x disklist" - * server-src/amstatus.pl.in: untaint user input, enforce known path. - * server-src/amoverview.pl.in: untaint user input (bug 1353481) - -2006-01-25 Kevin Till - * man/xml-source/amanda.conf.5.xml: fix formatting ( is not compatible - with some tag) add supported auth types. - -2006-01-25 Kevin Till - * common-src/bsd-security.c: move check_security to bsd_security.c, - fix faulty return - Thanks to Paul Bijnens - * restore-src/amidxtaped.c: ditto - * server-src/amindexd.c: ditto and no need to tell client - about reason for denial - * common-src/amanda.h: add proto of check_security - * server-src/conffile.c: don't list CRYPT in the summary report - for now - * restore-src/restore.c: set outfd correctly for amfetchdump cases - Thanks to Paul Bijnens - -2006-01-24 Ian Turner - * man/xml-source/amanda.conf.5.xml: Put documentation of - split-dump options in the right place. Thanks to Paul Bijnens - for the fix. - * man/xml-source/amanda.8.xml: ditto. - -2006-01-23 Ian Turner - * server-src/taperscan.c (find_brand_new_tape_label): Start - brand new tape labels at 1 instead of 0. Thanks to Paul - Bijnens for the fix. - -2006-01-18 Jean-Louis Martineau - * Amanda 2.5.0b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2). - * NEWS: Update for 2.5.0b2 - -2006-01-15 Jean-Louis Martineau - * server-src/disk_history.c: Fix memory leak. - -2006-01-15 Jean-Louis Martineau - * common-src/bsd-security.c: Fix memory leak. - * common-src/tapelist.c: Fix memory leak. - * restore-src/amidxtaped.c: Fix memory leak. - * restore-src/restore.c: Fix memory leak. - * server-src/amindexd.c: Fix memory leak. - * server-src/conffile.c: Fix memory leak. - * server-src/disk_history.c: Fix memory leak. - * server-src/find.c: Fix memory leak. - -2006-01-13 John Franks - * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY. - Loop on I/O if EINTR or EAGAIN. - * client-src/noop.c: Loop on I/O if EINTR or EAGAIN. - * client-src/sendbackup.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN. - * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY. - * common-src/util.c: Loop on I/O if EINTR or EAGAIN. - * recover-src/amrecover.c: Write commanda atomically in sigint handler - * recover-src/extract_list.c:Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - Remove shutdown functions. - * restore-src/amfetchdump.c: Remove SIGPIPE handler. - * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY. - Remove SIGPIPE handler. - read_file_header does not return if it - Fix infinite loop on EOF or error and - fail if memory reallocation failure in - get_client_line_fd. - * restore-src/restore.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Remove shutdown functions. - Simplify read loop. - * restore-src/restore.h: Change read_file_header to return void - * server-src/amcheck.c: Use fullread() to handel EINTR etc. - Remove unused variable. - * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY. - Use fullwrite on socket. - * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY. - * server-src/taper.c: Use fullwrite() to write data. - Use fullread() to read data. - * tape-src/output-file.c; Use fullwrite() to write data. - -2006-01-13 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Remove unused variable - errstr. - * restore-src/restore.c (restore): Remove unused variable s, l and - dataeof. - -2006-01-12 Jean-Louis Martineau - * recover-src/extract_list.c (send_to_tape_server): Do only on write. - * restore-src/amidxtaped.c (get_client_line_fd): New function to read - one complete line from an fd. - -2006-01-09 John Franks - * common-src/amanda.h: Include tcp.h - * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/dgram.c: No linger on datagrams - * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/util.c: Fix fullwrite to return # of bytes written - before failure. - * example/amanda.conf.in: Cleanup exclude list template. - Use configure directlries instead of /usr/local - * recover-src/extract_list.c: Cleanup read loops. - Use real fullwrite instead of inline versions. - Remove extra setting of LINGER on socket. - * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets. - * restore-src/restore.c:Use real fullwrite instead of inline versions. - * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/chunker.c: Use real fullwrite instead of inline versions. - * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/dumper.c: Use real fullwrite instead of inline versions. - -2006-01-09 Ian Turner - * changer-src/scsi-changer-driver.c: If there is a problem opening - the device during GenericRewind, don't retry for 201 minutes; give - up after only 200 seconds. - -2006-01-09 Ian Turner - * server-src/taperscan.c: When doing taper-scan algorithm, properly - accept new tapes. - -2006-01-09 Ian Turner - * tape-src/tapeio.c: Generate a more reasonable message when - reading an empty tape label on brand-new tapes. - -2006-01-09 Ian Turner - * server-src/amcheck.c: Actually do what the documentation for - amcheck -w says; that is, overwrite labels on tapes. - -2006-01-06 Kevin Till - * server-src/amcheck.c: check if encrypt or compress program is - executable. Check encrypt/compress configuration. - * server-src/dumper.c: kill encrypt child when dump is stopped - * server-src/amcrypt.sh.in: check for aespipe - * server-src/amaespipe.sh.in: adjust PATH - * man/xml-source/amtapetype.8.xml: fix format problem. - -2006-01-06 Jean-Louis Martineau - * recover-src/extract-list.c: Remove 'U' argument for gtar extraction. - -2006-01-06 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Another shutdown is - required. - -2006-01-05 John Franks - * recover-src/extract_list.c: Extend linger timeouts to 60 seconds. - Use shutdown() on sockets. - Retry reads in case of EINTR or EAGAIN. - * common-src/stream.c: set linger on correct socket. - Extend linger timeouts to 60 seconds. - * restore-src/restore.c: Fix compiler warnings. - * Call shutdown in more cases. - -2006-01-05 John Franks - * client-src/amandad.c: Set SO_LINGER on sockets. - * common-src/dgram.c: Set SO_LINGER on sockets. - * common-src/stream.c: Set SO_LINGER on sockets. - * common-src/util.c: Return any bytes already read on error or EOF. - * recover-src/extract_list.c: Set SO_LINGER on data socket. - Fix printf of unterminated string data. - Check return codes on socket header reads. - * restore-src/amidxtaped.c: Set SO_LINGER on sockets. - Check return codes on socket header reads. - * restore-src/restore.c: - Flush newline after operator prompt. - * common-src/debug.c: - Fix memory leak when debug file name already exists. - Print error text upon hard open() error. - Allow group members read only access to log files. - -2006-01-05 Kevin Till - * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe - early when it sees trailing garbage after EOF. - -2006-01-02 Jean-Louis Martineau - * common-src/amanda.h: Add a FD_COPY macro. - * recover-src/extract_list.c (writer_intermediary): Don't use - writer_intermediary, do the select locally. - -2006-01-02 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Call shutdown before - close. - -2005-12-30 John Franks - * recover-src/extract_list.c: - Fix double clearing of buffer during normal read path. - * restore-src/amidxtaped.c - Actually initialize changer if it is needed. (Set use_changer - before checking it...) - * Fix control messages being sent down the data pipe when - restoring to client that does not support split dumps. - * Print error and exit if a split dump is needed during restore - and client can not handle it. - -2005-12-30 Ian Turner - * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header - syntax, in favor of xx/-1. - -2005-12-29 John Franks - * recover-src/display_commands.c - Fix list deletion which did not update list root with NULL pointer. - Make free_dir_item() a non-recursive function to prevent stack bloat. - Fix list insertion code which inserts item in list initializes entry. - * recover-src/extract_list.c - Fix to initialize lditem before using it... - Prevent multiple frees of cmd string. - Do not free err which is only initialized with static string pointers. - Fix typo which caused newstralloc() to free the wrong memory. - * server-src/amindexd.c - Fix Compiler warning of unused variable. - * server-src/taperscan.c - Fix Compiler warning of bogus format specifier. - -2005-12-29 Kevin Till - * man/xml-source/amcrypt.8.xml: add new amcrypt man page - * man/xml-source/amaespipe.8.xml: add new amaespipe man page - -2005-12-29 Ian Turner - * man/xml-source/amanda.conf.5.xml: Document label_new_tapes - config option. - -2005-12-28 Ian Turner - * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM. - * recover-src/display_commands.c: ditto - * recover-src/extract_list.c: ditto. Also use dynamic strings in - struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM. - -2005-12-28 Ian Turner - * common-src/amfeatures.h: Add three new amfeatures: - fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD, - fe_amindexd_marshall_in_DHST. - * common-src/amfeatures.c: ditto. - * server-src/amindexd.c: Talk well to older clients. - -2005-12-23 Ian Turner - * server-src/taperscan.c: Don't crash if find_brand_new_tape_label - returns NULL. Also, don't return NULL from - find_brand_new_tape_label without a good excuse. - -2005-12-23 Kevin Till - * client-src/client_util.c: change server_decrypt_option to - server-decrypt-option - * client-src/sendbackup.c: change client_decrypt_option to - client-decrypt-option - * server-src/dumper.c: ditto - * common-src/amfeatures.c: add crypt related amfeaturs - * common-src/amfeatures.h: ditto - * server-src/diskfile.c: amfeatures checking and warns on - mis-configuration - -2005-12-23 Paddy Sreenivasan - * restore-src/restore.c: - * server-src/amtape.c: - * server-src/taperscan.c : Make scan_init static function - -2005-12-23 John Franks - * server-src/taper.c: Reduce I/O's system call overhead by 30% - in main read / write loop. - -2005-12-23 John Franks - * recover-src/restore.c Remove inapproriate aclose which caused - broken restore pipe. - * recover-src/extract_list.c Fix and cleanup read_buffer() - mainly to fix hole that drops parital buffer of data if end - of file is reached or an error occured.. Touched up calling - functions to make sure EOF/timeouts are handled correctly. - Increased normal path read timeout value from on second to - whatever READ_TIMEOUT is set to. - -2005-12-22 Jean-Louis Martineau - - * restore-src/restore.c (restore): Remova an aclose. - -2005-12-22 Jean-Louis Martineau - - * restore-src/amidxtaped.c (cleanup): Function registered with atexit - to remove the log file. - -2005-12-20 Jean-Louis Martineau - - * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h. - -2005-12-20 John Franks - - * restore-src/restore.c: Remove unused variables. - Fix uninitialize reference to bytes_read. - * server-src/amcheck.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/amtape.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/taper.c: Remove unused variables. - Minor indenting changes. - * server-src/taperscan.c:Remove unused variables. - Fix typo which assigns NULL rather than - checks for NULL. - Commented out reference to auto_pos which - is assigned but never used... - -2005-12-20 Jean-Louis Martineau - - * common-src/fileheader.c (parse_file_header): Parse '/' in part. - * common-src/fileheader.c (build_header): Add space ' ' before "part". - -2005-12-20 Jean-Louis Martineau - - * server-src/reporter.c: Fix report of output size. - -2005-12-19 Ian Turner - * server-src/taperscan.c: Check that automatic tape labels satisfy - the labelstr. - -2005-12-19 Ian Turner - * server-src/fileheader.c: Fix broken split-dump file headers. - -2005-12-18 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amcheck.c: Tapelist file is regular file. - -2005-12-17 Jean-Louis Martineau - - * restore-src/restore.c (get_block): Return a ssize_t. - * restore-src/restore.c: convert ssize_t to long for printing. - * restore-src/restore.c (restore>): Remove unused variable, outpipe, - outpipe2, i. - -2005-12-17 John R. Franks - - * restore-src/restore.h (read_file_header, restore): Return a ssize_t - instead of using a global variable bytes_read. - * restore-src/restore.c: Use local variable instead of global - bytes_read. Many memory management fixe. Fixe pipe handling, - * restore-src/amrestore.c: Use new read_file_header and restore. - * restore-src/amfetchdump.c: Use new read_file_header and restore. - -2005-12-17 Jean-Louis Martineau - With Kevin Till - - * common-src/fileheader.c (parse_file_header): Fix parsing of first - line. - * common-src/fileheader.c (build_header): Print crypt after programi - and only if it is needed. - -2005-12-14 Ian Turner - - * common-src/alloc.c: Add new function vstrextend, which extends an - existing string. - * common-src/amanda.h: Define vstrextend. - * example/amanda.conf.in: Document new option - label_new_tapes. Change default labelstr. - * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of - amcheck -w. - * restore-src/restore.c: Use the new changer_find interface. - * server-src/Makefile.am: Add new file taperscan.c - * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amcheck implementation. - * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amtape implementation. Also, use - the new changer_find interface for other kinds of tape finding. - * server-src/changer.c: Eliminate changer_scan. Change the API to - changer_find, so that callers can pass a user-data object, instead - of using globals. - * server-src/changer.h: Declare and document new changer_find - interface. - * server-src/conffile.c: Add new config option label_new_tapes. - * server-src/conffile.h: ditto. - * server-src/taper.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate taper implementation. Also, - combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the - difference only matters on writing). - * server-src/taperscan.c: Refactor the taper-scan algorithm from - taper, amtape, and amcheck. Implement label_new_tapes feature. - * server-src/taperscan.h: Declare and document new taperscan - interface. - * tape-src/tapeio.c: Notice the difference between a non-Amanda tape - and some other tape-reading problem. - * tape-src/tapeio.h: New declarations. - -2005-12-13 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): On a taper line, the outsize - should only count dump to tape, not flush. - -2005-12-13 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse chunker DONE line to set output size. - -2005-12-09 John Franks - - * client-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - * recover-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Move the size detection after detection of large - file support. That change the size of off_t. - -2005-12-08 Jean-Louis Martineau - - * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t. - * server-src/taper.c: Use OFF_T_FMT. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Set LL_FMT correctly. - * server-src/conffile.c: Use LL_FMT. - -2005-12-08 Jean-Louis Martineau - - * server-src/conffile.c: Maxdumpsize is a AM64. - * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and - tape_mark are am64_t. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Check for sizeof of many type. Check printf format of - a 64-bit integers. - * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i - set AM64_FMT to the printf format of a am64_t variable. - * server-src/conffile.c: New AM64 type. - * server-src/conffile.h(getconf_am64): Prototype. - -2005-12-08 Jean-Louis Martineau - - * client-src/Makefile.am: Remove amqde. - * client-src/sendsize.c: Remove code to call amqde. - * client-src/amqde.c: Remove file. - * configure.in: Remove '--with-qde' option. - -2005-12-05 Jean-Louis Martineau - - * server-src/amindexd.c (reply, lreply, fast_lreply): Must use - str_buffer_sizebuf instead of sizeof(bug). - -2005-12-05 Jean-Louis Martineau - - * server-src/planner.c: Print the time in the FINISH line. - * server-src/reporter.c: The estimate time is based on the planner - FINISH line. - -2005-12-05 Jean-Louis Martineau - - * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security. - -2005-12-05 Jean-Louis Martineau - - * server-src/holding.c (scan_holdingdisk): Static function. - * server-src/taper.c (signal_handler, install_signal_handlers): Ditto. - * server-src/reporter.c (output_strange,do_postscript_output): Ditto. - -2005-12-04 Jean-Louis Martineau - - * server-src/logfile.c (logtype_str): Add important ','. - -2005-12-03 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Fix wrong order for argument. - -2005-12-03 Jean-Louis Martineau - - * server-src/driver.c (start_some_dumps): Don't test for - cur_idle == NOT_IDLE. - -2005-12-03 Jean-Louis Martineau - - * server-src/driverio.c (check_unfree_serial): New fonction to check - unfreed serial number. - * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL. - * server-src/driverio.h (check_unfree_serial): Prototype. - * server-src/driver.c (main): Call check_unfree_serial. - -2005-12-02 Jean-Louis Martineau - Patch by Franz Fischer - - * config/acinclude.m4i: Fix for __alpha. - -2005-12-02 Jean-Louis Martineau - - * common-src/util.c: Debug must end with '\n'. - -2005-12-01 Jean-Louis Martineau - - * configure.in: Amanda support x86_64-unknown-linux-gnu. - -2005-11-30 Jean-Louis Martineau - - * common-src/rsh-security.c (rsh_sendpkt): buf is a char array. - * common-src/ssh-security.c (rsh_sendpkt): buf is a char array. - * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro. - -2005-11-30 Jean-Louis Martineau - - * client-src/rundump.c: undef USE_RUNDUMP before define. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * client-src/amqde.c: Fix compiler warning. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/event.h: Fix compiler warning. - * server-src/conffile.h: Fix compiler warning. - -2005-11-30 Kevin Till - - * client-src/client_util.c add server-side, client-side encryption - as well as custom compression. Custom compression patch is - orginally created by Matthieu Lochegnies. - * client-src/client_util.h Ditto - * client-src/selfcheck.c Ditto - * client-src/sendbackup-dump.c Ditto - * client-src/sendbackup-gnutar.c Ditto - * client-src/sendbackup.c Ditto - * client-src/sendbackup.h Ditto - * common-src/fileheader.c Ditto - * common-src/fileheader.h Ditto - * common-src/util.h Ditto - * example/amanda.conf.in Ditto - * man/xml-source/amanda.conf.5.xml Ditto - * restore-src/amrestore.c Ditto - * restore-src/restore.c Ditto - * server-src/conffile.c Ditto - * server-src/conffile.h Ditto - * server-src/diskfile.c Ditto - * server-src/diskfile.h Ditto - * server-src/dumper.c Ditto - -2005-11-29 Jean-Louis Martineau - - * config/libtool.m4i: libtool 1.5.20 - * config/ltmain.sh: libtool 1.5.20 - -2005-11-29 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/fileheader.c (build_header): Declation before instruction. - * restore-src/amfetchdump.c: Don't use C++ style comment. - * restore-src/restore.c: Don't use C++ style comment. - * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be - dynamicaly allocated. - * server-src/logfile.h: Don't use C++ style comment. - * server-src/taper.c (free_split_buffer): Test splitbuf against NULL. - -2005-11-22 Paddy Sreenivasan - * common-src/rsh-security.c: Fix x86_64 compile warnings. - * common-src/ssh-security.c: Fix x86_64 compile warnings. - * man/Makefile.am: Added EXTRA_XML files. - * man/xml-source/amanda.8.xml: Added spanning patch variables. - * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO. - * xslt/global.entities: Removed file. - -2005-11-20 Jean-Louis Martineau - Patch by Jon H. LaBadie - - * changer-src/chg-disk.sh.in: Check permission on file access. - -2005-11-17 Paddy Sreenivasan - * man/entities/global.entities: New file. Added man page entities. - * man/entities/xinclude.dtd: New file. - * man/xslt/man.xsl: Correct include path for settings.xsl. - -2005-11-15 John R. Franks - * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings. - * common-src/rsh-security.c: Fix IA-64 compile warnings. - * common-src/ssh-security.c: Fix IA-64 compile warnings. - * regex-src/engine.c: Fix IA-64 compile warnings. - * regex-src/regexec.c: Fix IA-64 compile warnings. - -2005-11-15 Paddy Sreenivasan - - * configure.in: Changed defaults for tape_dev and nr_tape_dev. - * example/amanda.conf.in: Leave only changerfile definition - uncommented. - * man/xml-source/amanda.conf.5.xml: Updated defaults for - tapedev and rawtapedev - -2005-11-10 Jean-Louis Martineau - - * server-src/planner.c: Fix incronly. - -2005-11-05 Jean-Louis Martineau - - * man/Makefile.am: Set man_MANS, - -2005-11-03 Jean-Louis Martineau - - * man/Makefile.am: Set man5_MANS and man8_MANS, - install-data-hook use them. - -2005-11-03 Jean-Louis Martineau - Patch by Olivier Cherrier - - * man/Makefile.am (install-data-hook): Set protection correclty - for man5 and man8. - -2005-10-29 Jean-Louis Martineau - - * common-src/util.c (bind_portrange): Increase port in all case. - -2005-10-27 Jean-Louis Martineau - - * server-src/conffile.c: Allow runtapes==0. - * server-src/driver.c: Use a global conf_runtapes. Don't start a - taper if runtapes==0. - * server-src/reporter.c: Don't print The next tapes if runtapes==0. - - -2005-10-24 Jean-Louis Martineau - - * Amanda 2.5.0b1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1). - * NEWS: Update for 2.5.0b1. - -2005-10-25 Ian Turner - - * man/Makefile.am: include amfetchdump.8. - * man/xml-source/amadmin.8.xml: Add spanning-patch documentation. - * man/xml-source/amanda.8.xml: ditto - * man/xml-source/amrecover.8.xml: ditto - * man/xml-source/amfetchdump.8.xml: ditto (new file) - * man/xslt/global.entities: Add myself, Zmanda Inc. - -2005-10-24 Jean-Louis Martineau - - * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of - the argvchild array. - -2005-10-20 Jean-Louis Martineau - - * server-src/server_util.c (getcmd): Print DEBUG to stderr. - -2005-10-20 Ian Turner - - * configure.in: Check for xsltproc. - * man/Makefile.am: Properly build, clean, and distribute generated - manpages from XML source. - * man/amadmin.8: Remove from CVS - * man/amanda.8: Remove from CVS - * man/amanda.conf.5: Remove from CVS - * man/amcheck.8: Remove from CVS - * man/amcheckdb.8: Remove from CVS - * man/amcleanup.8: Remove from CVS - * man/amdd.8: Remove from CVS - * man/amdump.8: Remove from CVS - * man/amflush.8: Remove from CVS - * man/amgetconf.8: Remove from CVS - * man/amlabel.8: Remove from CVS - * man/ammt.8: Remove from CVS - * man/amoverview.8: Remove from CVS - * man/amplot.8: Remove from CVS - * man/amrecover.8: Remove from CVS - * man/amreport.8: Remove from CVS - * man/amrestore.8: Remove from CVS - * man/amrmtape.8: Remove from CVS - * man/amstatus.8: Remove from CVS - * man/amtape.8: Remove from CVS - * man/amtapetype.8: Remove from CVS - * man/amtoc.8: Remove from CVS - * man/amverify.8: Remove from CVS - * man/amverifyrun.8: Remove from CVS - * man/xml-source/amadmin.8.xml: Add from xml-docs - * man/xml-source/amanda.8.xml: Add from xml-docs - * man/xml-source/amanda.conf.5.xml: Add from xml-docs - * man/xml-source/amcheck.8.xml: Add from xml-docs - * man/xml-source/amcheckdb.8.xml: Add from xml-docs - * man/xml-source/amcleanup.8.xml: Add from xml-docs - * man/xml-source/amdd.8.xml: Add from xml-docs - * man/xml-source/amdump.8.xml: Add from xml-docs - * man/xml-source/amflush.8.xml: Add from xml-docs - * man/xml-source/amgetconf.8.xml: Add from xml-docs - * man/xml-source/amlabel.8.xml: Add from xml-docs - * man/xml-source/ammt.8.xml: Add from xml-docs - * man/xml-source/amoverview.8.xml: Add from xml-docs - * man/xml-source/amplot.8.xml: Add from xml-docs - * man/xml-source/amrecover.8.xml: Add from xml-docs - * man/xml-source/amreport.8.xml: Add from xml-docs - * man/xml-source/amrestore.8.xml: Add from xml-docs - * man/xml-source/amrmtape.8.xml: Add from xml-docs - * man/xml-source/amstatus.8.xml: Add from xml-docs - * man/xml-source/amtape.8.xml: Add from xml-docs - * man/xml-source/amtapetype.8.xml: Add from xml-docs - * man/xml-source/amtoc.8.xml: Add from xml-docs - * man/xml-source/amverify.8.xml: Add from xml-docs - * man/xml-source/amverifyrun.8.xml: Add from xml-docs - * man/xslt/expand-sambadoc.xsl: Add from xml-docs - * man/xslt/global.entities: Add from xml-docs - * man/xslt/man.xsl: Add from xml-docs - * man/xslt/settings.xsl: Add from xml-docs - -2005-10-20 Jean-Louis Martineau - - * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate - phase. - * server-src/driver.c: Start autoflush while waiting for estimate. - * server-src/planner.c: Write FLUSH line before estimate. - -2005-10-17 Jean-Louis Martineau - Patch by John R. Franks - - * server-src/taper.c (create_split_buffer): Should not use sizeof(). - -2005-10-17 Jean-Louis Martineau - - * server-src/taper.c (read_file): Move the putresult(DONE) to the - right place, some cleanup. - -2005-10-17 Jean-Louis Martineau - - * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s. - -2005-10-17 Ian Turner - - * Changelog: Fix line breaks. - * restore-src/restore.c: Give more useful FSF error messages. - * recover-src/extract_list.c: Do better error checking on passed port - number. - * common-src/tapelist.c: Do proper memory management of strings. - Otherwise really bad stuff happens. - -2005-10-17 Jean-Louis Martineau - - * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already - handle it correctly. - -2005-10-16 Jean-Louis Martineau - - * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it - is done by exit. - -2005-10-16 Jean-Louis Martineau - - * server-src/driverio.c (serial2disk): Print str if error. - -2005-10-15 Paddy Sreenivasan - - * server-src/taper.c: Shared memory need not be removed in normal paths. - Done as part of atexit. - -2005-10-15 Jean-Louis Martineau - Patch by John R. Franks - - * changer-src/scsi-aix.c: calls to open/openx guages success by - checking for a file descriptor greater than 0. 0 is also a valid - descriptor so the check should be >= 0. - Calls to SCSI_OpenDevice does not check for error return. - Calls to SCSI_OpenDevice does not check for error return. - Calls to SCSI_OpenDevice does not check for error return. - Call to opendir() does not check for error. - * changer-src/scsi-hpux_new.c: Ditto. - * changer-src/scsi-irix.c: Ditto. - * changer-src/scsi-linux.c: Ditto. - * changer-src/scsi-solaris.c: Ditto. - * client-src/selfcheck.c: Call to open() does not check for error. - * client-src/sendbackup.c: Call to freopen() does not check for error. - * client-src/sendsize.c: Call to open() does not check for error. - * common-src/bsd-security.c: Call to open() does not check for error. - * common-src/file.c: Call to open() does not check for error. - * restore-src/amrestore.c: Calls to tape_open() do not always check - return code. open() is called with open flags set to 0 - (Call always fails with an EINVAL) - * restore-src/restore.c: fopen() return error check is "fopen() < 0". - fopen returns a pointer and the proper check should be - "fopen() == NULL". - Call to open() does not check for error. - * tape-src/tapeio.c: tape_open() is called here and other places with a - variable number of arguments, and yet is not defined as a varargs - function... - * tape-src/tapeio.h: Prototype for tape_open. - -2005-10-15 Jean-Louis Martineau - Patch by Paddy Sreenivasan - - * client-src/sendsize.c: Log message changes. - * server-src/taper.c: And an atexit function to detach shared memory. - Trap some signal and detach shared memory. - -2005-10-14 Jean-Louis Martineau - - * regex-src/regcomp.c (findmust): Initialized start to NULL. - -2005-10-14 Jean-Louis Martineau - Patch by John R. Franks - - * regex-src/cclass.h: Fixed to add missing braces and reformat long - strings to fix in 80 columns. - * regex-src/cname.h: Fixed by adding braces and tidying up code a bit. - * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0. - ifdef out unused mcsub, mcin and mcfind functions. - (findmust) Initialized newstart to NULL. - * regex-src/regerror.c: Adds missing braces. - * regex-src/regexec.c (nope): Use only in assert, so it is not only - defined if NDEBUG is not defined. - -2005-10-14 Jean-Louis Martineau - Patch by John R. Franks - - * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy, - it is not static int. - * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy, - it is not static int. - -2005-10-13 Jean-Louis Martineau - - * common-src/util.c (bind_portrange): New argument proto. - Check for reserved port. - * common-src/util.h (bind_portrange): New prototype. - * common-src/bsd-security.c (bind_portrange): New prototype. - * common-src/dgram.c: Add "udp" as argument to bind_portrange. - * common-src/stream.c: Add "tcp" as argument to bind_portrange. - -2005-10-12 Jean-Louis Martineau - - * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t. - * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid, - isafile, stat_tape, tapename, s, fp, ch and errstr variable. - -2005-10-11 Ian Turner - Patch by Jean-Louis Martineau - - * restore-src/amfetchdump.c: Remove unused variable debug. - * restore-src/amidxtaped.c: Remove lock_logfile(), which is also - in restore.c. - * restore-src/Makefile.am: Include libamanda twice, to fix build - on some machines. - -2005-10-11 Jean-Louis Martineau - - * restore-src/Makefile (noinst_HEADERS): Add restore.h. - * restore-src/restore.c (search_tapes): Add the fourth argument to - read_file_header. - -2005-10-11 Jean-Louis Martineau - - * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize - to 0. - * server-src/reporter.c (handle_partial): Set repdata to the result - of handle_success. - * server-src/taper.c: Set the first-file. - -2005-10-11 Jean-Louis Martineau - - * client-src/client_util.c, server-src/amcheck.c, - server-src/reporter.c: Add missing type for arguments. - -2005-10-11 Jean-Louis Martineau - - * server-src/taper.c (tape_writer_side): detach_buffers on normal exit. - -2005-10-10 Ian Turner - - * server-src/amtape.h: Apply tape-spanning patch by John Stange - as ported to 2.5.0 by Ian Turner, with - contributions by Christopher Pascoe . - * configure.in: Ditto - * amplot/Makefile.am: Ditto - * changer-src/Makefile.am: Ditto - * client-src/Makefile.am: Ditto - * common-src/Makefile.am: Ditto - * common-src/amanda.h: Ditto - * common-src/amfeatures.c: Ditto - * common-src/amfeatures.h: Ditto - * common-src/fileheader.c: Ditto - * common-src/fileheader.h: Ditto - * common-src/match.c: Ditto - * common-src/tapelist.c: Ditto - * common-src/tapelist.h: Ditto - * example/amanda.conf.in: Ditto - * man/Makefile.am: Ditto - * recover-src/amrecover.c: Ditto - * recover-src/amrecover.h: Ditto - * recover-src/display_commands.c: Ditto - * recover-src/extract_list.c: Ditto - * restore-src/Makefile.am: Ditto - * restore-src/amfetchdump.c: Ditto - * restore-src/amfetchdump.h: Ditto - * restore-src/amidxtaped.c: Ditto - * restore-src/amrestore.c: Ditto - * restore-src/restore.c: Ditto - * restore-src/restore.h: Ditto - * server-src/Makefile.am: Ditto - * server-src/amadmin.c: Ditto - * server-src/amindexd.c: Ditto - * server-src/amoverview.pl.in: Ditto - * server-src/amtoc.pl.in: Ditto - * server-src/amverify.sh.in: Ditto - * server-src/changer.c: Ditto - * server-src/conffile.c: Ditto - * server-src/conffile.h: Ditto - * server-src/disk_history.c: Ditto - * server-src/disk_history.h: Ditto - * server-src/diskfile.c: Ditto - * server-src/diskfile.h: Ditto - * server-src/driver.c: Ditto - * server-src/driverio.c: Ditto - * server-src/find.c: Ditto - * server-src/find.h: Ditto - * server-src/holding.c: Ditto - * server-src/holding.h: Ditto - * server-src/logfile.c: Ditto - * server-src/logfile.h: Ditto - * server-src/planner.c: Ditto - * server-src/reporter.c: Ditto - * server-src/server_util.c: Ditto - * server-src/server_util.h: Ditto - * server-src/taper.c: Ditto - -2005-10-07 Jean-Louis Martineau - - * server-src/taper.c: Change message: on new tape due to - -2005-10-06 Jean-Louis Martineau - Patch by John R. Franks - - * common-src/amflock.c (main): Don't call safe_fd, it's not needed - during configure. - * configure.in: '#include ' in the check - 'for Linux like scsi support (sg)' - -2005-10-02 Jean-Louis Martineau - - * client-src/amandad.c (writebuf): Call waitpid in the parent. - -2005-10-02 Jean-Louis Martineau - - * client-src/amandad.c (service_delete): Remove call to sleep. - * common-src/bsd-security.c: Add bsdprintf. Add more debug. - The handle is used as a string, instead of 2 int. - -2005-10-02 Jean-Louis Martineau - - * common-src/rsh-security.c: rshprintf should call dbprint. - * common-src/ssh-security.c: rshprintf should call dbprint, add many - rshprintf. - * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time - to the log. - -2005-10-02 Jean-Louis Martineau - - * common-src/stream.c: len is a socklen_t. - * server-src/amindexd.c: Add socklen as a socklen_t. - * restore-src/amidxtaped.c: Add socklen as a socklen_t. - * tape-src/tapetype.c: Change printf format. - * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1. - * server-src/dumper.c: Init outfd to -1. - * common-src/file.c (areads_getbuf): First argument is const. - -2005-10-01 Jean-Louis Martineau - - * server-src/reporter.c: Don't trunk hostname/diskname in - 'FAILURE AND STRANGE DUMP SUMMARY' section. - -2005-10-01 Jean-Louis Martineau - - * server-src/chunker.c (main): Remove outfd. - -2005-09-30 Jean-Louis Martineau - - * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c, - client-src/getfsent.c, common-src/statfs.c, common-src/token.c - (main): Remove fd declaration. - -2005-09-30 Jean-Louis Martineau - - * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR. - -2005-09-30 Jean-Louis Martineau - - * common-src/sl.c (insert_sort_sl). Typo. - -2005-09-30 Jean-Louis Martineau - - * config/config.guess: Update from automake 1.9.5. - * config/config.sub: Update from automake 1.9.5. - * config/depcomp: Update from automake 1.9.5. - * config/install-sh: Update from automake 1.9.5. - * config/missing: Update from automake 1.9.5. - * config/mkinstalldirs: Update from automake 1.9.5. - * config/ltmain.sh: Update from libtool-1.5.16. - * config/libtool.m4i: Update from libtool-1.5.16. - -2005-09-30 Jean-Louis Martineau - - * common-src/bsd-security.c: Fix small bug. - -2005-09-22 John R. Jackson - - * configure.in: If --without-server is specified, either on the - command line or via config.site, make sure --without-restore - is also in effect. Avoids compilation errors if mismatched. - * example/config.site: Document above. - -2005-09-21 John R. Jackson - - * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via - "amgetconf build.CLIENT_LOGIN". - -2005-09-21 John R. Jackson - - * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H - is defined. - -2005-09-21 Jean-Louis Martineau - - * server-src/amlabel.c: 'int fd' is needed. - -2005-09-20 John R. Jackson - - * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns - . - -2005-09-20 John R. Jackson - - * common-src/file.c: Create safe_fd() to do common file descriptor - safety operations at the start of every program. In addition - to closing everything from three on up that used to be done - with explicit code, make sure stdin, stdout and stderr are - open per a potential (but unlikely) security report from Ben - Schwarz . - * common-src/amanda.h: Ditto. - * client-src/amandad.c: Ditto. - * client-src/calcsize.c: Ditto. - * client-src/getfsent.c: Ditto. - * client-src/killpgrp.c: Ditto. - * client-src/rundump.c: Ditto. - * client-src/runtar.c: Ditto. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * client-src/versionsuffix.c: Ditto. - * common-src/amflock.c: Ditto. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - * common-src/statfs.c: Ditto. - * common-src/token.c: Ditto. - * recover-src/amrecover.c: Ditto. - * restore-src/amidxtaped.c: Ditto. - * restore-src/amrestore.c: Ditto. - * server-src/amadmin.c: Ditto. - * server-src/amcheck.c: Ditto. - * server-src/amcleanupdisk.c: Ditto. - * server-src/amflush.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amlogroll.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/chunker.c: Ditto. - * server-src/conffile.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/getconf.c: Ditto. - * server-src/infofile.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/taper.c: Ditto. - * server-src/dumper.c: Ditto plus remove incorrect chdir to hard - coded "/tmp/amanda". - -2005-09-20 John R. Jackson - - * client-src/calcsize.c: Fix format string. - * server-src/diskfile.c: Fix compiler warnings. - * server-src/planner.c: Fix compiler warnings. - -2005-09-20 John R. Jackson - - * common-src/amanda.h: Add dbreopen() so debug file can be closed - and then reopened if needed. - * common-src/debug.c: Ditto. - * client-src/runtar.c: Close the debug file (fd 10) around the - exec of GNU tar. Newer versions complain about stray file - descriptors. - * server-src/getconf.c: Use dbreopen() to create the debug file. - Do not try to open config file unless needed (allows clients to - use build.XXX/dbopen.XXX/dbclose.XXX). - -2005-09-20 John R. Jackson - - * client-src/sendbackup-dump.c: Ignore a new message from Solaris - vxdump. - -2005-09-20 Jean-Louis Martineau - - * common-src/bsd-security.c: Generate a unique event_id, thei - proto_handle is not always unique. - -2005-09-15 Jean-Louis Martineau - - * server-src/amverify.sh.in: Don't check for EOI, it's buggy. - -2005-09-12 Jean-Louis Martineau - - * server-src/driverio.c: Don't save history with size < 0. - -2005-09-12 Jean-Louis Martineau - Patch by Geert Uytterhoeven - - * server-src/planner.c: Don't use history with size < 0. - -2005-09-07 Jean-Louis Martineau - Patch Paul Bijnens - - * server-src/planner.c(delay_dumps): Delay incremental dump also - larger than tape. - -2005-09-07 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0. - * man/amoverview.8: Document -last, -num0 and -togo0. - -2005-09-07 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/driver.c: Make tape_length and tape_left unsigned long. - -2005-07-11 Jean-Louis Martineau - Patch by Stefan G. Weichinger - - * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases. - -2005-07-11 Jean-Louis Martineau - - Bug found by John E Hein . - * server-src/amadmin.c: Fix of by one with NB_HISTORY. - * server-src/infofile.c:x: Fix of by one with NB_HISTORY. - -2005-06-08 Jean-Louis Martineau - Patch by Jay Fenlason - - * client-src/sendsize.c: Fix dbprintf call. - -2005-06-03 Jean-Louis Martineau - Stefan G. Weichinger - - * example/amanda.conf.in: edited the default-value for the - holdingdisk-usage to "use -100 Mb". - The old value "use 290 Mb" didn't make much - sense anymore. - -2005-06-03 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Remove buggy space. - -2005-05-17 Jean-Louis Martineau - - * server-src/amadmin.c: Add [--days ] argument to tape subcommand. - -2005-05-13 Jean-Louis Martineau - - * example/amanda.conf.in: Update from 2.4.5. - -2005-05-13 Jean-Louis Martineau - - * docs/*: New documentation from xml-docs. - * docs/Makefile.am (pkgdata_DATA): Update for new files. - -2005-05-13 Jean-Louis Martineau - - * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5. - -2005-05-13 Jean-Louis Martineau - - * man/*: Use man pages form xml-docs. - * configure.in (AC_CONFIG_FILES): Remove all man pages. - * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5 - amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8 - amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8 - amtapetype.8 amtoc.8 amverify.8 amverifyrun.8 - -2005-05-05 Jean-Louis Martineau - - * common-src/rsh-security.c (net_read_fillbuf): Read only a packet, - nothing more. - * common-src/ssh-security.c (net_read_fillbuf): Read only a packet, - nothing more. - * common-src/rsh-security.c (conn_put): Don't kill the process, only do - a wait with WNOHANG. - * common-src/ssh-security.c (conn_put): Don't kill the process, only do - a wait with WNOHANG. - -2005-04-14 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Improve handling of - "Unknown Storage Element Loaded". - -2005-04-06 Jean-Louis Martineau - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052 - - * server-src/amverifyrun.sh.in: Filter changer log file. - -2005-04-06 Jean-Louis Martineau - - * server-src/amcheck.c: Improve messages. - -2005-04-06 Jean-Louis Martineau - - * client-src/sendsize.c (generic_calc_estimates): Use amname instead - of dirname in message. - -2005-03-29 Jean-Louis Martineau - - * server-src/conffile.h: Rename getcont_unit_divisor to - getconf_unit_divisor. - * server-src/amadmin.c: Use getconf_unit_divisor. - * server-src/amcheck.c: Use getconf_unit_divisor. - * server-src/conffile.c: Use getconf_unit_divisor. - * server-src/conffile.c (unit_divisor): Init to 1. - * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always - divide by 1024. Add the du macro. Use mb or du where appropriate. - -2005-03-16 Jean-Louis Martineau - - * server-src/infofile.h (history_t): Add secs field. - * server-src/infofile.c (read_txinfofile): Parse info file with secs - in history. - * server-src/infofile.c (write_txinfofile): Write secs in history. - * server-src/driverio.c (update_info_dumper): Update secs in history. - -2005-03-16 Jean-Louis Martineau - - * server-src/planner.c: Improve server estimate. - * server-src/planner.c: Write server estimate like others estimate. - -2005-02-14 Jean-Louis Martineau - - * server-src/amstatus.pl.in: last_level is negative, on new disk. - -2005-02-09 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Use '-?' to match negative values - instead of '-*'. - -2005-02-09 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/amoverview.pl.in: Print the total number of level 0 - dumps for each disk and the number of runs until the last level 0 - dump will be overwritten. - -2005-02-09 Jean-Louis Martineau - Patch by Phil Homewood - - * server-src/amoverview.pl.in: Add -skipmissed option. - -2005-02-09 Jean-Louis Martineau - - * server-src/driver.c: Print the chunksize to the log. - -2005-02-09 Jean-Louis Martineau - - * client-src/calcsize.c: Print estimate to STDERR. - * client-src/sendsize.c (generic_calc_estimates): Read calcsize result, - and send it to amandad. Write debuging message. - -2005-02-09 Jean-Louis Martineau - Patch by Franz G. Fischer - - * server-src/conffile.c: Adds a value type LONG and a val_t.l long - union member and changes get_number() to return long and - get_simple() to fill val_t.l if called for a long value. The - get_simple() calls have been changed to LONG for typetype_t.blocksize - typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and - holdingdisk_t.chunksize. - -2005-02-09 Jean-Louis Martineau - - * server-src/amdump.sh.in: Redirect in append mode. - * server-src/driver.c: Set stdout and stderr to not buffered. - * server-src/planner.c: Set stderr to not buffered. - Print 'setup_estimate:' on one line. - * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line. - -2005-02-09 Jean-Louis Martineau - - * client-src/calcsize.c: Improve estimate for sparse file and count - space for filenames. - -2005-02-09 Jean-Louis Martineau - - * server-src/planner.c: Improve message if no incremental estimate. - -2004-12-21 Jean-Louis Martineau - Patch by Christopher Pascoe - - * common-src/match.c (match_glob, match_tar): Don't amfree(regex) - before calling error(). - -2004-11-22 Jean-Louis Martineau - - * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit. - -2004-11-22 Jean-Louis Martineau - - * server-src/driver.c: Typo. - -2004-11-19 Jean-Louis Martineau - - * restore-src/amrestore.c: Should now work correctly with empty file. - * server-src/amverify.sh.in: Parse "End-of-Information detected." - message from amrestore. - -2004-11-19 Jean-Louis Martineau - - * server-src/driver.c: tape_left should not become negative. - -2004-11-19 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/diskfile.c: Parse negative spindle (-1). - -2004-11-19 Jean-Louis Martineau - - * server-src/amadmin.c: Balance subcommand use displayunit. - * server-src/amcheck.c: Small cleanup. - -2004-11-19 Jean-Louis Martineau - - * restore-src/amrestore.c: Undo patch from 2004-11-11, it break - the file: dirver. - -2004-11-19 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Remove trace. - -2004-11-16 Jean-Louis Martineau - - * server-src/diskfile.c: Compilation fix. - -2004-11-16 Jean-Louis Martineau - - * server-src/conffile.c: Parse displayunit, - new fonction getcont_unit_divisor(). - * server-src/conffile.h: Prototype of getcont_unit_divisor(). - * server-src/amcheck.c: Use displayunit to display holding disk size. - * server-src/amstatus.pl.in: Use displayunit to display dump size. - * server-src/reporter.c: use displayunit to display dump size. - * Document displayunit. - -2004-11-16 Jean-Louis Martineau - - * server-src/reporter.c: Change 'Daily' for 'Incr.'. - -2004-11-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in Fix for level -1. - -2004-11-15 Jean-Louis Martineau - Patch by Daniel Widyono - - * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode. - -2004-11-11 Jean-Louis Martineau - - * restore-src/amrestore.c: Read empty file. - -2004-11-10 Jean-Louis Martineau - - * tape-src/tapetype.c: Use new tape. - -2004-11-08 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Display partial estimate. - -2004-11-08 Jean-Louis Martineau - - * server-src/diskfile.c (read_diskline): A spindle must be numerical. - -2004-10-21 Jean-Louis Martineau - - * server-src/holding.c (rename_tmp_holding): Always rename files. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c: Print message when too many retry. - * server-src/amstatus.pl.in: Detect a failed dump after too many retry. - * amplot/amplot.awk: Parse these message. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely - if dumper returns DONE and taper returns TRYAGAIN. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely - if dumper returns TRYAGAIN and taper returns DONE. - -2004-10-20 Jean-Louis Martineau - - * server-src/amflush.c: Don't start a driver if nothing to flush. - -2004-10-14 Jean-Louis Martineau - Patch by Eric Siegerman - - * example/3hole.ps: Fix for multiple tape. - -2004-10-04 Jean-Louis Martineau - - * server-src/amverify.sh.in: Terminate if no tape online. - -2004-09-17 Jean-Louis Martineau - - * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible. - -2004-09-17 Jean-Louis Martineau - - * server-src/conffile.c (getconf_byname): Special case for typ == BOOL. - -2004-09-17 Jean-Louis Martineau - - * server-src/planner.c (promote_hills): Use dumpcycle instead of - tapecycle. - * example/amanda.conf.in: Remove warning for tapecyle set to inf. - -2004-09-17 Jean-Louis Martineau - - * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too - big. - -2004-09-15 Jean-Louis Martineau - - * tape-src/tapetype.c: New -o option, doesn't overwrite amanda - tape without -o. - * man/amtapetype.8.in: Document new -o option. - -2004-09-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Works with failed dump to tape. - -2004-08-31 Jean-Louis Martineau - - * client-src/sendbackup-gnutar.c (end_backup): Write warning message - in not fatal error. - * server-src/dumper.c (process_dumpline): Parse warning message. - * server-src/reporter.c (handle_strange): Print warning message in - the STRANGE summary. - -2004-08-31 Jean-Louis Martineau - - * server-src/driverio.c (free_serial): Set stable[s].dp to NULL. - * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL. - -2004-08-31 Jean-Louis Martineau - Patch by Joe Rhett - - * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__. - -2004-08-31 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/conffile.c (copy_dumptype): Copy maxpromoteday. - -2004-08-12 Jean-Louis Martineau - - * client-src/selfcheck.c (check_disk): More check for CALCSIZE. - -2004-08-11 Jean-Louis Martineau - - * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature. - * common-src/amfeatures.c (am_init_feature_set): Set - fe_selfcheck_calcsize. - * client-src/selfcheck.c: Check if calcsize binary is available if - it is needed. - * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE - if it support fe_selfcheck_calcsize. - -2004-08-05 Jean-Louis Martineau - - * man/amanda.8.in: Document 'estimate' dumptype option. - -2004-08-04 Jean-Louis Martineau - - * server-src/amrmtape.sh.in: Understand history info. - -2004-08-03 Jean-Louis Martineau - - * server-src/driver.c: Typo. - -2004-08-03 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line, - print if a dump is waiting for holding disk space (roomq). - -2004-08-03 Jean-Louis Martineau - - * server-src/driver.c (handle_dumper_result, handle_chunker_result): - Don't call free_serial(). - * server-src/driver.c (dumper_result): Call free_serial_dp(dp). - * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd. - * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE - command. - * server-src/driverio.c (disk2serial): Try to find a 'dp' before - allocating a new serial. - * server-src/driverio.c (free_serial_dp): New function to remove the - serial for a dp. - * server-src/driverio.h (free_serial_dp): Prototype. - * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE - command. - -2004-08-03 Jean-Louis Martineau - - * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with - CALCSIZE estimate. - -2004-08-03 Jean-Louis Martineau - - * client-src/calcsize.c: Support exclude and include like gnutar, - change in program argument. - * client-src/sendsize.c: Execute calcsize as requested. - * common-src/amfeatures.h (fe_calcsize_estimate): New feature. - * common-src/amfeatures.c (am_init_feature_set): set - fe_calcsize_estimate. - * server-src/amcheck.c (start_host): Check if client support CALCSIZE - estimate. - -2004-08-03 Jean-Louis Martineau - - * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define - for estimate type. - * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate' - * server-src/conffile.c (get_estimate): New function to parse estimate - type, .... - * server-src/diskfile.c (read_diskline): Copy 'estimate'. - * server-src/diskfile.h (disk_t): Add 'estimate'. - * server-src/amadmin.c (disklist_one): Print estimate type. - -2004-08-02 Jean-Louis Martineau - - * common-src/match.c (match_tar, tar_to_regex): New fonction similar - to the exclude option of tar. - * common-src/amanda.h (match_tar, tar_to_regex): Prototype. - -2004-08-02 Jean-Louis Martineau - - * server-src/infofile.h (history_t): new struct. - * server-src/infofile.h (info_t): Add a history_t. - * server-src/infofile.c (read_txinfofile): Parse history data. - * server-src/infofile.c (write_txinfofile): Print history data. - * server-src/amadmin.c (export_one): export history data. - * server-src/amadmin.c (import_one): import history data. - * server-src/driverio.c (update_info_dumper): update history data. - -2004-05-10 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/planner.c: Log L_DISK for autoflush disk. - -2004-05-03 Jean-Louis Martineau - - * server-src/planner.c (handle_result): Add dp to pestq at the - correct place. - -2004-04-30 Jean-Louis Martineau - - * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST. - -2004-04-29 Jean-Louis Martineau - - * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro. - * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h). - * common-src/amanda.h: include "common-src/amanda-int.h". - * changer-src/scsi-cam.c: Change u_int32_t for uint32_t. - -2004-04-27 Jean-Louis Martineau - - * configure.in: Fix for automake 1.8.4. - * config/acinclude.m4i: Fix for automake 1.8.4. - -2004-04-26 Jean-Louis Martineau - - * configure.in: Result of autoupdate. - -2004-04-26 Jean-Louis Martineau - - * config/config.guess: Update from automake 1.8. - * config/config.sub: Update from automake 1.8. - * config/depcomp: Update from automake 1.8. - * config/install-sh: Update from automake 1.8. - * config/missing: Update from automake 1.8. - * config/mkinstalldirs: Update from automake 1.8. - * config/ltmain.sh: Update from libtool-1.5.6. - * config/libtool.m4i: Update from libtool-1.5.6. - -2004-04-26 Marc Mengel - - * tape-src/output-rait.c: Verify reads correctly. - -2004-04-26 Jean-Louis Martineau - - * server-src/driver.c (continue_dumps): Fix deadlock if holding disk - fill up when in degraded mode. - -2004-04-23 Eric Siegerman - - Bug fix: amflush would run, and consume a tape, even if there - were no Amanda directories waiting to be flushed: - * common-src/sl.c (is_empty_sl): New function to test - whether a list is empty. - * common-src/sl.h (is_empty_sl): Prototype. - * server-src/amflush.sh (main): Use is_empty_sl(), - rather than ==NULL, to test emptiness of datestamp_list. - -2004-04-23 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Typo. - -2004-04-22 Jean-Louis Martineau - - Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype. - * server-src/conffile.c: Parse. - * server-src/conffile.h: Define. - * server-src/amadmin.c (disklist_one): Use. - * server-src/diskfile.c (read_diskline): Initialize. - * server-src/diskfile.h: Define. - * server-src/planner.c: Use. - * man/amanda.8.in: Document. - -2004-04-22 Jean-Louis Martineau - Fix by Paul Bijnens - - * server-src/planner.c (setup_estimate): Only ask for level 0 estimate - if strategy is noinc. - -2004-04-21 Jean-Louis Martineau - Documentation from Paul Bijnens - - * man/amoverview.8.in: Document results. - -2004-04-21 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amoverview.pl.in: Print last two characters. - -2004-04-16 Jean-Louis Martineau - - * changer-src/chg-disk.sh.in: Fix for sh compatibility. - -2004-04-14 Jean-Louis Martineau - Fix by John Koyle - - * common-src/dgram.c: Fix EAGAIN on Linux. - -2004-04-06 Jean-Louis Martineau - - * server-src/amadmin.c (bumpsize): Typo. - -2004-04-06 Jean-Louis Martineau - - New bumppercent global option. - * example/amanda.conf.in: Document it. - * man/amanda.8.in: Document it. - * server-src/amadmin.c (bumpsize): Write it. - * server-src/conffile.c: Parse it. - * server-src/conffile.h: Define It. - * server-src/planner.c (bump_thresh): New size_level_0 parameter, - use the new bumppercent option. - -2004-04-05 Jean-Louis Martineau - - * server-src/amadmin.c: Rename host_t to amhost_t. - * server-src/amcheck.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/diskfile.h: Ditto. - * server-src/driver.c: Ditto. - * server-src/planner.c: Ditto. - -2004-03-26 Jean-Louis Martineau - - * amplot/amplot.awk: Parse "driver: tape size" line. - -2004-03-22 Stefan G. Weichinger - - * server-src/amcheck.c (start_host): Added warning for hostname - localhost. - * docs/TOP-TEN-QUESTIONS: added note about localhost-warning. - -2004-03-19 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS. - -2004-03-18 Stefan G. Weichinger - - * docs/TOP-TEN-QUESTIONS: New file. - -2004-03-17 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): Set stats[i].coutsize - correctly. - * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize. - -2004-03-16 Jean-Louis Martineau - - * common-src/ssh-security.c: New ssh security driver. - * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c. - * common-src/security.c: Add ssh security driver. - * configure.in: Add --with-ssh-security. Define SSH_SECURITY. - -2004-03-16 Jean-Louis Martineau - - * server-src/amcheck.c: Do labelstr check in correct order. - -2004-03-10 Jean-Louis Martineau - - Use only one time event for all dumpers, no wait event. - start_some_dumps is called everytime a dumper or taper finish. - * server-src/driver.c (dumpers_ev_time): New global event. - * server-src/driver.c (start_some_dumps): Remove dumper argument, - can start many dump. - * server-src/driver.c (dumper_result): Call start_some_dumps instead - of event_wakeup. - * server-src/driver.c (handle_idle_wait): Remove function. - * server-src/driver.c (handle_dumpers_time): new handle for - dumpers_ev_time, it call start_some_dumps. - * server-src/driverio.h (dumper_t): Remove ev_wait. - * server-src/driverio.c (startup_dump_process): Don't set ev_wait. - -2004-03-09 Jean-Louis Martineau - - * common-src/fileheader.c (print_header): Fix fprintf use. - * client-src/amqde.c (parse_exclude_path): Fix = by ==. - * common-src/protocol.c (s_repwait): Fix compiler warning. - * common-src/rsh-security.c (runrsh): Fix compiler warning. - -2004-03-05 Jean-Louis Martineau - - * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd. - -2004-02-13 Jean-Louis Martineau - Reported by Allen Liu - - * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'. - -2004-02-13 Jean-Louis Martineau - - * server-src/amcheck.c: Verify the tape is listed in the tapelist file. - * server-src/taper.c: Ditto - -2004-02-13 Jean-Louis Martineau - - * server-src/driver.c (dump_schedule): Print complete name. - -2004-02-13 Jean-Louis Martineau - - The estimate send a PREP (partial REP) packet after each estimate. - * client-src/amandad.c: Send PREP packet if sendsize. - * common-src/amfeatures.c (am_init_feature_set): Add - fe_partial_estimate. - * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate. - * common-src/packet.c (pktypes[]): Add PREP. - * common-src/packet.h (pktype_t): Add P_PREP. - * common-src/protocol.c (action_t): Add A_CONTPEND. - * common-src/protocol.c: Handle P_PREP packet. - * server-src/amstatus.pl.in: Parse "got partial result" line. - * server-src/planner.c: Handle P_PREP packet. - -2004-02-13 Jean-Louis Martineau - Reported by Jason Brooks - - * server-src/reporter.c: Remove duplicate setting of cd to - &ColumnData[Level]. - -2004-02-12 Jean-Louis Martineau - Patch by Philippe Charnier - - * server-src/amtrmidx.c: Add '\n'. - -2004-02-11 Jean-Louis Martineau - - * recover-src/set_commands.c (cd_glob): Fix memory leak. - -2004-02-11 Jean-Louis Martineau - - * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak. - * recover-src/uscan.l: Fix double amfree. - -2004-02-02 Jean-Louis Martineau - - * server-src/driver.c: Build holding disk name with timestamp. - * server-src/holding.c (is_datestr): Check also for timestamp. - * server-src/planner.c: Flush today's dump with autoflush. - * server-src/find.c: Find holding disk with timestamp. - * server-src/find.h (find_result_t): Add timestamp field. - -2004-02-02 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full. - -2004-02-02 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Do not execute amverify if no tape - to verify. - -2004-02-02 Jean-Louis Martineau - - * server-src/amdump.sh.in: Do not redirect to /dev/null. - -2004-02-02 Jean-Louis Martineau - - * config/acinclude.m4i: Define CF_WAIT_INT. - * configure.in: Call CF_WAIT_INT. - * common-src/amanda.h: Try to make waitpid doesn't warn. - -2004-01-29 Jean-Louis Martineau - - * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk. - -2004-01-29 Christoph Pospiech - - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl. - * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega. - * changer-src/chg-iomega.pl.in: New changer script. - * docs/TAPE.CHANGERS: Document chg-iomega. - * contrib/mkamandisk: Script to format iomega disk. - -2004-01-29 Jean-Louis Martineau - - * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit. - -2004-01-26 Jean-Louis Martineau - - * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX. - * example/amanda.conf.in: Update record documentation. - * man/amanda.8.in: Update record documentation. - -2004-01-14 Stefan G. Weichinger - - * docs/INSTALL: Add config for xinetd. - -2004-01-07 Jean-Louis Martineau - - * server-src/planner.c (handle_result): Detect bad estimate (-1). - * server-src/planner.c (analyze_estimate): Don't schedule level - if the estimate is bad. - -2003-12-16 Jean-Louis Martineau - - * docs/HOWTO-FILE-DRIVER: New file. - * docs/TAPE.CHANGERS: Explain chg-disk. - * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER. - -2003-12-02 Jean-Louis Martineau - - * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX. - -2003-11-28 Jean-Louis Martineau - Patch by Jean-Christian SIMONETTI - - * changer-src/chg-disk.sh.in: New changer script. - * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk. - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh. - -2003-11-28 Jean-Louis Martineau - - * tape-src/tapetype.c: extern int optind. - * tape-src/tapeio.c: extern int optind. - -2003-11-28 Jean-Louis Martineau - Patch by C.Scheeder - - * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A". - -2003-11-27 Jean-Louis Martineau - - * server-src/driver.c: Print the tape size. - * server-src/amstatus.pl.in: print % of tape use. - -2003-11-26 Jean-Louis Martineau - - * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen. - -2003-11-26 Jean-Louis Martineau - - * server-src/reporter.c (output_tapeinfo): Fix printing of new tape. - -2003-11-25 Jean-Louis Martineau - - * server-src/amcheck.c (taperscan_slot): Deal with label not in - tapelist case. - * server-src/amtape.c (taperscan_slot): Ditto. - * server-src/taper.c (taperscan_slot): Ditto. - -2003-11-24 Jean-Louis Martineau - - * server-src/driver.c (handle_taper_result): Always call - continue_dumps() in TRYAGAIN case. - -2003-11-21 Jean-Louis Martineau - - * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0 - if no tape in drive. - -2003-11-20 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS. - -2003-11-18 Jean-Louis Martineau - Patch by Mitch Collinsworth - - * client-src/selfcheck.c: Skip accessibility check for AFS entries. - * docs/HOWTO-AFS: New file. - -2003-11-07 Jean-Louis Martineau - - * server-src/amadmin.c (tape): Display the next new tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2003-10-31 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes. - -2003-10-31 Jean-Louis Martineau - - * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape. - * server-src/amcheck.c (taper_scan): Handle found==3. - * server-src/amtape.c (taperscan_slot): Set found=3 if new tape. - * server-src/amtape.c (taper_scan): Handle found==3. - * server-src/taper.c (taperscan_slot): Set found=3 if new tape. - * server-src/taper.c (taper_scan): Handle found==3. - -2003-10-30 Jean-Louis Martineau - - * server-src/amcheck.c: Use stralloc(optarg). - * tape-src/ammt.c: Use stralloc(optarg). - * tape-src/tapetype.c: Use stralloc(optarg). - -2003-10-30 Jean-Louis Martineau - Patch by Jay Fenlason - - * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN. - -2003-10-30 Jean-Louis Martineau - Patch by Andrew Rucker Jones - - * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3. - -2003-10-27 Jean-Louis Martineau - - * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist. - * server-src/amindexd.c: Call find_dump to allow dynamic disklist. - * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist. - * server-src/diskfile.c (add_disk): Set device and todo. - * server-src/find.c: Build disklist dynamicaly from log files. - * server-src/find.h (find_dump): New prototype. - -2003-10-27 Jean-Louis Martineau - - * server-src/amlogroll.c: set_pname("amlogroll"). - -2003-10-24 Todd M. Kover - - * add amqde for "quick and dirty estimates" under gnutar (program - that will traverse the filesystem rather than invoke gnutar). - controlled via configure option --with-qde. This really wants to - be configured in the server. - -2003-10-24 Jean-Louis Martineau - - * server-src/amverify.sh.in: Fix usage message. - * common-src/fileheader.c (print_header): fprintf to outf. - * server-src/tapefile.c (lookup_last_reusable_tape): Check for - tp->datestamp > 0. - * server-src/amadmin.c (disklist_one): Don't print ':' on device line. - -2003-10-23 Todd Kover - - * make amrecover link against readline rather than libamanda so - only amrecover would require the shared library (if it's found) - -2003-10-22 Jean-Louis Martineau - Patch by Paul Bijnens - - * client-src/amandates.c (finish_amandates): Call error() if the - close of amdf fail. - * common-src/amflock.c (create_lock): Return -1 if the close of f fail. - * common-src/amflock.c (read_lock): Don't set f to NULL if the close - fail. - * server-src/tapefile.c (write_tapelist): Return 1 if the close of - tapef fail. - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet - size, compliments of Nicolas Ecarnot . - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * client-src/sendsize.c: Handle case where PID's get re-used. - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * configure.in: Need to check for sys/gscdds.h on AIX to enable - SCSI changer. - -2003-10-07 Jean-Louis Martineau - - * common-src/genversion.c (prundefvar): New function to print an - undefined variable. - * common-src/genversion.c: Print undefined variable. - * server-src/amcheck.c: Improve message for no LPRCMD defined. - -2003-07-08 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Don't clea re_label before checking - for the changer. - -2003-07-07 Jean-Louis Martineau - Patch by Scott Mcdermott - - * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config - variable to add a pause after a tape loading. - -2003-07-07 Jean-Louis Martineau - Fix by John E. Hein - - * changer-src/chg-manual.sh.in: Quote @EGREP@. - * changer-src/chg-null.sh.in: Quote @EGREP@. - -2003-07-07 Jean-Louis Martineau - - * amplot/amplot.sh.in: Remove files before runnig amplot.awk. - * amplot/amplot.awk: Parse 'flush line', fix tape_wait line. - * server-src/driver.c (read_flush): Write a 'flush size' to the - debug file. - -2003-07-07 Jean-Louis Martineau - - * changer-src/chg-chio.pl.in: Fix next/prev command. - -2003-07-02 Jean-Louis Martineau - patch by Paul Bijnens - - * client-src/client_util.c (add_include): Count include with 2 /, - Fix descriptor leak. - -2003-06-25 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix print spacing for idle dumpers. - -2003-06-20 Jean-Louis Martineau - - * server-src/holding.c: Fix compiler error. - * server-src/planner.c: Use snprintf. - -2003-06-20 Jean-Louis Martineau - patch by Paul Bijnens - - * tape-src/tapetype.c: Avoid a numerical overflow for large tape - capacities. - -2003-06-20 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix to failed tape. - -2003-06-18 Jean-Louis Martineau - - * server-src/planner.c (delay_dumps): Delay not delay forced full - before forced full. - -2003-06-18 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Log the changer file used. - -2003-06-11 Jean-Louis Martineau - - * server-src/amverify.sh.in: Do not advance to next tape. - -2003-06-10 Jean-Louis Martineau - patch by Eric Siegerman - - * server-src/planner.c: Make promote_hills() honour maxpromotedays. - -2003-06-05 Jean-Louis Martineau - - * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD. - * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD. - * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD. - -2003-06-05 Jean-Louis Martineau - - * client-src/noop.c: #include "util.h". - -2003-06-05 Jean-Louis Martineau - - * server-src/amflush.c: Implement new -b and -s options. - * man/amflush.8.in: Document it. - -2003-06-05 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't go in degraded mode if - taper reply DONE. - -2003-06-05 Jean-Louis Martineau - - * tape-src/output-rait.c: Don't call waitpid if we didn't fork. - -2003-06-04 Jean-Louis Martineau - - * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32. - -2003-06-03 Jean-Louis Martineau - Bug reported by Sven Rudolph - - * server-src/holding.c (mkholdingdir): New function to create a holding - directory. - * server-src/holding.h (mkholdingdir): Prototype. - * server-src/driver.c: Use mkholdingdir; - * server-src/chunker.c: Call mkholdingdir before opening a file for - writing. - -2003-06-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1. - -2003-06-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amstatus.pl.in: If nothing is active, it now gives the - status of the last run (amdump or amflush). - * man/amstatus.8.in: Document it. - -2003-05-29 Jean-Louis Martineau - - * tape-src/output-file.c (check_online): Write error if opendir failed. - -2003-05-29 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amoverview.pl.in: Use 'amadmin disklist' instead - of parsing the disklist file. - -2003-05-27 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for - previous patch. - -2003-05-20 Jean-Louis Martineau - - * common-src/versuff.c.in: Use @VERSION_SUFFIX@. - -2003-05-16 Jean-Louis Martineau - - * example/amanda.conf.in: Add more amrecover_changer doc. - * man/amanda.8.in: Add more amrecover_changer doc. - * man/amrecover.8.in: Add more amrecover_changer doc. - -2003-05-12 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist): Ignore blank line. - * server-src/tapefile.c (parse_tapeline): Newer status parameter, set - it to '1' when reading blank line. - -2003-04-28 Jean-Louis Martineau - - * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h, - linux/ftape-vendors.h et linux/ftape.h. - -2003-04-28 Jean-Louis Martineau - Patch by Darin Dugan - - * server-src/amcheck.c: Change subject in email if no error. - -2003-04-26 Jean-Louis Martineau - - * common-src/error.c (output_error_message): Always prepend program - name. - -2003-04-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix for estimate disk. - -2003-04-14 Jean-Louis Martineau - - * server-src/taper.c: Read holding file correctly if blocksize != 32k. - -2003-04-13 Jean-Louis Martineau - New file by Robert C Dege - - * configure.in: Find mcutil binary. - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and - example/chg-mcutil.conf. - * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil. - * changer-src/chg-mcutil.sh.in: New file. - * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf - * example/chg-mcutil.conf.in: New file. - -2003-04-08 Jean-Louis Martineau - - * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize - configure option. - -2003-04-02 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Run the amverify command. - -2003-04-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/reporter.c: Get the filenumber correct. - -2003-04-01 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/reporter.c: Print a postscript label for each tape used. - -2003-03-18 Jean-Louis Martineau - - * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*, - define DEV_PREFIX and RDEV_PREFIX. - -2003-03-17 Jean-Louis Martineau - - * configure.in: Typo. - -2003-03-17 Jean-Louis Martineau - Patch by Gert Doering - - * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*. - -2003-03-17 Jean-Louis Martineau - - * configure.in: Compile on *-sco3.2v4* - -2003-03-17 Jean-Louis Martineau - - * configure.in: Use '=' instead of '=='. - -2003-03-14 Jean-Louis Martineau - - * recover-src/set_commands.c (set_tape): Recognize null:, rait:, - file: and tape: as driver, not host name. - -2003-03-14 Jean-Louis Martineau - - * server-src/amrmtape.sh.in: Print better output. - -2003-03-13 Jean-Louis Martineau - - * changer-src/Makefile.am (libexec_SCRIPTS): Missing \. - -2003-03-08 Jean-Louis Martineau - - * client-src/client_util.c (add_include): If include contain 2 '/' then - use at asis, don't try to match it. - -2003-03-07 Jean-Louis Martineau - - * server-src/changer.h (changer_label): Return an int. - * server-src/changer.h (changer_label): First parameter is char *. - -2003-03-07 Jean-Louis Martineau - - * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd(); - * file tape-src/tapeio.c (struct tape_info): Add master_fd field. - * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1; - * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk, - tapefd_getinfo_level): Return info of master_fd. - * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set - master_fd. - * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype. - -2003-03-06 Jean-Louis Martineau - - * tape-src/output-file.c (file_tapefd_can_fork): New function that - return 1 if the file: can be run under a forked process. - * tape-src/output-file.h (file_tapefd_can_fork): Prototype. - * tape-src/output-null.c (null_tapefd_can_fork): New function that - return 1 if the null: can be run under a forked process. - * tape-src/output-null.h (null_tapefd_can_fork): Prototype. - * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if - * tapefd_can_fork() return 1. - * tape-src/output-rait.c (rait_tapefd_can_fork): New function that - return 1 if the rait: can be run under a forked process. - * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype. - * tape-src/output-tape.c (tape_tapefd_can_fork): New function that - return 1 if the tape: can be run under a forked process. - * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype. - * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and - initialize vtable[]; - * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver - xxx_tapefd_can_fork function. - * tape-src/tapeio.h (tapefd_can_fork): Prototype. - -2003-03-05 Jean-Louis Martineau - - * tape-src/output-file.c (file_tapefd_write): Call file_release(fd) - before opening the file for writing. - -2003-03-04 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0. - -2003-03-04 Jean-Louis Martineau - - * amplot/amplot.sh.in: New -b option for b/w postscript. - * amplot/amplot.awk: Add 'color' to command if bw is set. - * amplot/amplot.g: Change line 6 to line 8. - * man/amplot.8: Document -b option. - -2003-03-04 Jean-Louis Martineau - - * recover-src/extract_list.c: Fix the name of the - amidxtaped..debug file. - -2003-02-28 Jean-Louis Martineau - Patch by Eric Doutreleau - - * restore-src/amidxtaped.c: Use the device sent by the changer. - -2003-02-28 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on - all failure path. - -2003-02-28 Jean-Louis Martineau - - * server-src/changer.c: Sync with 2.4.4. - -2003-02-21 Jean-Louis Martineau - - * client-src/client_util.c: Print error except ENOENT for - exclude/include files. - -2003-02-20 Jean-Louis Martineau - - * tape-src/tapetype.c: Use %ld to print some variable. - -2003-02-20 Jean-Louis Martineau - - * server-src/conffile.c (init_defaults): conf_printer.s must be set - with stralloc(""). - -2003-02-12 Jean-Louis Martineau - Patch by Paul Bijnens - - * tape-src/tapetype.c: Document -c option. - -2003-02-12 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n" - -2003-02-12 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist): return 1 if can't open the - tapelist file. - -2003-02-12 Jean-Louis Martineau - - * man/amtapetype.8.in: Add doc from a mail by John R. Jackson. - -2003-02-11 Jean-Louis Martineau - - * server-src/amcheck.c: New -a option. - * man/amcheck.8.in: Document it. - -2003-02-11 Jean-Louis Martineau - - * server-src/amindexd.c (build_disk_table): Compare the level. - -2003-02-10 Jean-Louis Martineau - Patch by Paul Bijnens - - * tape-src/tapetype.c: New -c argument to do only the compression test. - Better detection of compression. - * man/amtapetype.8.in: Document -c argument. - -2003-02-09 John R. Jackson (jrj@purdue.edu) - - * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries. - This helps performance on some OS's. - -2003-02-08 John R. Jackson (jrj@purdue.edu) - - * restore-src/amrestore.c: Clean up strtol() argument processing. - -2003-02-08 John R. Jackson (jrj@purdue.edu) - - * docs/INSTALL: Clean up supporting package versions and URL's. - -2003-02-06 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html. - -2003-02-04 Jean-Louis Martineau - Patch by Christophe Kalt - - * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp. - * client-src/sendsize.c: New re_size for NetApp. - -2003-02-04 Jean-Louis Martineau - Fix by Colin Henein - - * common-src/amanda.h: Fix for the where S_ISDIR is not defined. - -2003-02-03 Jean-Louis Martineau - Patch by Doug Kingston - - * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin. - * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false. - * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT. - -2003-02-03 Jean-Louis Martineau - Patch by Andrew Rucker Jones - - * man/amtapetype.8.in: Fix example. - -2003-01-31 Jean-Louis Martineau - - * common-src/amanda.h: #define S_ISDIR if not already defined. - -2003-01-31 Jean-Louis Martineau - File from Doug Kingston - - * docs/HOWTO-CYGWIN.html: New file. - -2003-01-30 Jean-Louis Martineau - - * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin - * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc" - if WANT_RUNTIME_PSEUDO_RELOC. - * recover-src/Makefile.am: Ditto. - -2003-01-28 Jean-Louis Martineau - - * tape-src/output-rait.h: #define stralloc strdup - * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have - vstralloc in standalone. - -2003-01-27 Jean-Louis Martineau - Reported by Doug Kingston - - * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS. - -2003-01-26 Jean-Louis Martineau - - * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc. - -2003-01-26 Jean-Louis Martineau - - * changer-src/chg-scsi-chio.c: Change strdup to stralloc. - * changer-src/chg-scsi.c: Ditto. - * changer-src/scsi-aix.c: Ditto. - * changer-src/scsi-bsd.c: Ditto. - * changer-src/scsi-cam.c: Ditto. - * changer-src/scsi-changer-driver.c: Ditto. - * changer-src/scsi-hpux_new.c: Ditto. - * changer-src/scsi-irix.c: Ditto. - * changer-src/scsi-linux.c: Ditto. - * changer-src/scsi-solaris.c: Ditto. - * changer-src/sense.c: Ditto. - * tape-src/output-rait.c: Ditto. - -2003-01-26 Jean-Louis Martineau - - * server-src/taper.c (read_file): Don't count header in filesize. - -2003-01-25 John R. Jackson (jrj@purdue.edu) - - * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused - by indeterminate compiler order of evaluation. - -2003-01-25 John R. Jackson (jrj@purdue.edu) - - * restore-src/amidxtaped.c: Log errno when tape_stat fails. - * restore-src/amrestore.c: Ditto. - * tape-src/output-rait.c: Ditto. - -2003-01-24 Jean-Louis Martineau - - * server-src/amstatus.pl.in: print an usage by tape. - -2003-01-23 Jean-Louis Martineau - - * recover-src/extract_list.c (add_extract_item, delete_extract_item): - Check also for level when comparing label. - -2003-01-17 Jean-Louis Martineau - - Do not build chg-scsi-chio, it is buggy. - * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI). - * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI). - -2003-01-16 Jean-Louis Martineau - - * configure.in: disable amrestore if --without-server is set. - -2003-01-04 Jean-Louis Martineau - - * client-src/amandad.c: Use the dbfd macro instead of the external - variable db_fd. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * client-src/sendbackup-gnutar.c: Use save_errno instead of errno. - * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE. - * server-src/amindexd.c: dup db_fd() to stderr. - * server-src/conffile.c: Don't call error() if the config file does not - exist, just write to stderr and set got_parserror. - -2003-01-03 Jean-Louis Martineau - - * recover-src/amrecover.c: Fix memory leak. - -2003-01-03 Jean-Louis Martineau - - Add new maxpromoteday option in a dumptype. - * example/amanda.conf.in: Give an example - * man/amanda.8.in: Document it. - * server-src/amadmin.c: Print it in the disklist subcommand. - * server-src/conffile.c: read it. - * server-src/conffile.h (dumptype_t): Add maxpromoteday and - s_maxpromoteday. - * server-src/diskfile.c (read_diskline): Copy maxpromoteday from - dumptype_t to disk_t. - * server-src/diskfile.h (disk_t): Add maxpromoteday. - * server-src/planner.c (promote_highest_priority_incr): Don't promote - a disk if est(dp)->next_level0 > dp->maxpromoteday. - -2003-01-02 Jean-Louis Martineau - Reported by Josh More - - * client-src/client_util.c (add_exclude, add_include): Remove the - need for MAXPATHLEN. - -2003-01-02 Jean-Louis Martineau - Fix by Josh More - - * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD - -2003-01-01 Jean-Louis Martineau - Undo patch of 2002-11-27. That doesn't work well for the planner. - - * common-src/amanda.h (days_diff): Revert to old macro. - * server-src/amadmin.c: Undo Fix for newer days_diff. - * server-src/planner.c: Undo Fix for newer days_diff. - -2003-01-01 Jean-Louis Martineau - - * client-src/client_util.c: Fix memory leak reported by valgrind. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * common-src/amfeatures.c: Ditto. - * common-src/debug.c: Ditto. - * recover-src/amrecover.c: Ditto. - * recover-src/extract_list.c: Ditto. - * recover-src/set_commands.c: Ditto. - * recover-src/uparse.y: Ditto. - * recover-src/uscan.l: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/changer.c: Ditto. - * server-src/conffile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/driverio.c: Ditto. - * server-src/dumper.c: Ditto. - * server-src/find.c: Ditto. - * server-src/holding.c: Ditto. - * server-src/logfile.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - * server-src/taper.c: Ditto. - -2002-12-30 Jean-Louis Martineau - - * amplot/amplot.awk: Many fix. - -2002-12-30 Jean-Louis Martineau - - * server-src/planner.c (promote_highest_priority_incremental): Promote - a disk > balanced size if no full today. Do not promote a disk it's - the only disk due that day and no full today. - -2002-12-30 Jean-Louis Martineau - Patch by Brad Roberts - - * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl. - * server-src/holding.c (get_flush): Ditto. - -2002-12-27 Jean-Louis Martineau - - * server-src/conffile.c: New taperalgo configuration keyword. - * server-src/conffile.h: Ditto. - * man/amanda.8.in: Document it. - * server-src/driver.c (startaflush): New function to start a flush to - tape. - -2002-12-27 Jean-Louis Martineau - - * server-src/diskfile.c (parse_diskline): Allow skip in dumptype. - -2002-12-23 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse features from PORT-WRITE line. - -2002-12-19 Jean-Louis Martineau - - Don't use the G flag for samba backup restore by tar. - * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR. - * recover-src/extract_list.c (extract_files_child): Set dumptype to - IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar - if it's IS_SAMBA_TAR. - -2002-12-18 Jean-Louis Martineau - - * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line. - -2002-12-17 Jean-Louis Martineau - - * server-src/planner.c (promote_highest_priority_incremental): Newer - algorithm that reduce the number of level 0 by hosts on a single day. - -2002-12-17 Jean-Louis Martineau - - * amplot/amplot.awk: Parse newer log lines. - -2002-12-11 Jean-Louis Martineau - * server-src/reporter.c (output_stats): Typo. - -2002-12-09 Jean-Louis Martineau - - * server-src/reporter.c: Print an usage by tape. - -2002-12-05 Jean-Louis Martineau - - * tape-src/tapeio.c (do_read): Init count to 0. - -2002-12-05 Jean-Louis Martineau - - * tape-src/Makefile.am: Install tapetype program as amtapetype. - * docs/TAPETYPES: Change for amtapetype. - * man/amtapetype.8.in: New man page - * man/Makefile.am: Install it. - * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8. - -2002-12-03 Jean-Louis Martineau - - * tape-src/ammt.c (optind): Add prototype. - * tape-src/amdd.c (optind): Add prototype. - -2002-12-03 Jean-Louis Martineau - - * common-src/arglist.h (printf_arglist_function, - printf_arglist_function1, printf_arglist_function2): Define if - STDC_HEADERS is not defined. - -2002-12-03 Jean-Louis Martineau - - * server-src/amstatus.pl.in: New --date option to display datestamp. - * server-src/amstatus.pl.in: Increase some field size. - * server-src/amstatus.pl.in: The host field adjust it's length to the - largest. - -2002-11-27 Jean-Louis Martineau - - * common-src/amanda.h (days_diff): Don't add a half day. - * server-src/amadmin.c: Fix for newer days_diff. - * server-src/planner.c: Fix for newer days_diff. - -2002-11-26 Jean-Louis Martineau - - * client-src/amandad.c: Fix compiler warning. - * common-src/Makefile.am (bsdsecurity): Link with file.o. - * common-src/bsd-security.c: Fix compiler warning. - * common-src/bsd-security.c (construct_datestamp, construct_timestamp): - Add function if TEST. - * server-src/chunker.c: Fix compiler warning. - * server-src/dumper.c: Fix compiler warning. - -2002-11-26 Jean-Louis Martineau - - * tape-src/tapetype.c: Cast time_t to long for printing. - -2002-11-26 Jean-Louis Martineau - - * server-src/amflush.c: Write a "amflush: start at ???" line. - * server-src/amstatus.pl.in: parse the "amflush: start at ???" line. - -2002-11-25 Jean-Louis Martineau - - * server-src/planner.c (delay_dumps): Use snprintf. - -2002-11-25 Jean-Louis Martineau - - * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE. - * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR. - -2002-11-24 Jean-Louis Martineau - - * docs/TAPE.CHANGERS: Sync with 2.4.3. - -2002-11-24 Jean-Louis Martineau - - * server-src/amadmin.c: Cleanup. - -2002-11-23 Jean-Louis Martineau - - * man/amadmin.8.in: Document new --days option of balance subcommand. - -2002-11-23 Jean-Louis Martineau - - * server-src/amadmin.c (days_diff): Make next_level0 more acurate. - * server-src/amadmin.c (balance): Improve output. - -2002-11-23 Jean-Louis Martineau - - * recover-src/extract_list.c: Add Retry and Skip command to amrecover. - -2002-11-23 Jean-Louis Martineau - - * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static. - -2002-11-19 Jean-Louis Martineau - - * server-src/reporter.c: Fix for LPRCMD not defined. - -2002-11-14 Marc Mengel - - New changer scripts for use with rait: code, run several other - changers in tandem and return a rait: tape device. Makes fake - amanda.conf files under AMANDA_DEBUGDIR for each changer used, - then cleans up. - - * changer-src/chg-rait.sh.in: New file. Multi-changer script. - * changer-src/chg-null.sh.in: New File. Null-device changer script. - * docs/TAPE.CHANGERS: Descriptions of above. - * configure.in: added above files. - * changer-src/Makefile.am: Likewise. - -2002-11-14 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/planner.c (delay_dumps): Add the estimate size to all call - of delay_one_dump. - -2002-11-13 Jean-Louis Martineau - - * server-src/reporter.c: Increase width of some field. - -2002-11-12 Jean-Louis Martineau - - * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0. - -2002-11-12 Jean-Louis Martineau - - * recover-src/extract_list.c (delete_file): j is int. - * changer-src/scsi-defs.h (B, B1): Check if already defined. - * server-src/taper.c: Some cast to int. - * tape-src/amdd.c (read_func, write_func): Complete prototype. - * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t, - third argument is size_t. - * tape-src/tapeio.c: Ditto. - * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-file.c: Ditto. - * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-null.c: Ditto. - * tape-src/output-rait.h (rait_read, rait__write): return ssize_t, - third argument is size_t. - * tape-src/output-rait.c: Ditto. - * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-tape.c: Ditto. - -2002-11-12 Jean-Louis Martineau - - * configure.in: socklen_t default to int. - * common-src/dgram.c (dgram_recv): addrlen is socklen_t. - * common-src/stream.c (stream_server): len is socklen_t. - * recover-src/extract_list.c (add_file): j is int. - -2002-11-12 Jean-Louis Martineau - - * client-src/client_util.c (test_name_len) Remove variable. - * common-src/match.c (len_prefix): Change type to int. - * server-src/taper.c: Use %p to print pointer. - * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t. - * tape-src/amdd.c (debug): Renamed to debug_amdd. - * tape-src/ammt.c (debug): Renamed to debug_ammt. - -2002-11-11 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Fix restore from file. - -2002-11-07 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Fix newline in string literal. - -2002-11-07 Jean-Louis Martineau - - * server-src/conffile.c (maxdumpsize): New option. - * server-src/conffile.h: Ditto. - * server-src/planner.c: Use maxdumpsize if set. - * example/amanda.conf.in: Document it. - * man/amanda.8.in: Document it. - -2002-11-06 Jean-Louis Martineau - - * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label, - fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk, - fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs, - fe_amidxtaped_config): New features. - * common-src/amfeatures.c (am_init_feature_set): Set new features. - * recover-src/extract_list.c: Send new protocol data to amidxtaped. - * restore-src/Makefile.am: amidxtaped.c need libamserver. - * restore-src/amidxtaped.c: Read new protocol data from amrecover. - * restore-src/amidxtaped.c: Use new configuration options. - * server-src/conffile.c (conf_amrecover_do_fsf, - conf_amrecover_check_label, conf_amrecover_changer): New config. - * server-src/conffile.h: New config options. - * example/amanda.conf.in: Document them. - * man/amanda.8.in: Document them. - -2002-11-05 Jean-Louis Martineau - - * autogen: touch config/config.h.in - * configure.in: Patch from autoupdate-2.53 and LIBOBJS. - * common-src/Makefile.am: Build versuff.o before version.o - * recover-src/Makefile.am: Remove work around for automake-1.2 - -2002-11-04 Jean-Louis Martineau - - * configure.in: Remove --disable-libtool. - * */Makefile.am: Remove WANT_LIBTOOL. - -2002-11-04 Jean-Louis Martineau - - * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration. - * server-src/amadmin.c: Ditto. - * server-src/amcheck.c: Ditto. - * server-src/amcleanupdisk.c: Ditto. - * server-src/amflush.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amlogroll.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/chunker.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/dumper.c: Ditto. - * server-src/getconf.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/taper.c: Ditto. - * server-src/conffile.c (config_name, config_dir): Add declaration. - -2002-11-03 Jean-Louis Martineau - - * man/amrestore.8: Amrestore doesn't use a changer. - -2002-11-01 Jean-Louis Martineau - - * configure.in (SHELL): Don't set it, libtool do it. - -2002-10-31 Jean-Louis Martineau - - * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3. - -2002-10-30 Jean-Louis Martineau - - * restore-src/amrestore.c: New '-l