From 3ab887b9bc819a846c75dd7f2ee5d41fac22b19f Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 19 May 2008 22:46:33 -0600 Subject: [PATCH] Imported Upstream version 2.4.4p3 --- AUTHORS | 48 + COPYRIGHT | 25 + COPYRIGHT-APACHE | 57 + COPYRIGHT-REGEX | 11 + ChangeLog | 9900 ++++++ INSTALL | 176 + Makefile.am | 105 + Makefile.in | 780 + NEWS | 373 + README | 181 + acinclude.m4 | 6955 ++++ aclocal.m4 | 966 + amplot/Makefile.am | 44 + amplot/Makefile.in | 499 + amplot/amcat.awk.in | 6 + amplot/amplot.awk | 526 + amplot/amplot.g | 69 + amplot/amplot.sh.in | 153 + changer-src/Makefile.am | 71 + changer-src/Makefile.in | 701 + changer-src/chg-chio.pl.in | 473 + changer-src/chg-chs.sh.in | 426 + changer-src/chg-disk.sh.in | 259 + changer-src/chg-iomega.pl.in | 285 + changer-src/chg-juke.sh.in | 266 + changer-src/chg-manual.sh.in | 310 + changer-src/chg-mcutil.sh.in | 564 + changer-src/chg-mtx.sh.in | 286 + changer-src/chg-multi.sh.in | 464 + changer-src/chg-null.sh.in | 98 + changer-src/chg-rait.sh.in | 218 + changer-src/chg-rth.pl.in | 301 + changer-src/chg-scsi-chio.c | 902 + changer-src/chg-scsi.c | 1784 + changer-src/chg-zd-mtx.sh.in | 1294 + changer-src/libscsi.h | 72 + changer-src/scsi-aix.c | 406 + changer-src/scsi-bsd.c | 308 + changer-src/scsi-cam.c | 472 + changer-src/scsi-changer-driver.c | 6202 ++++ changer-src/scsi-chio.c | 319 + changer-src/scsi-defs.h | 1185 + changer-src/scsi-hpux.c | 340 + changer-src/scsi-hpux_new.c | 308 + changer-src/scsi-irix.c | 419 + changer-src/scsi-linux.c | 697 + changer-src/scsi-proto.c | 128 + changer-src/scsi-solaris.c | 336 + changer-src/sense.c | 851 + client-src/Makefile.am | 106 + client-src/Makefile.in | 854 + client-src/amandad-krb4.c | 87 + client-src/amandad.c | 665 + client-src/amandates.c | 301 + client-src/amandates.h | 55 + client-src/amhpfixdevs.sh | 66 + client-src/amqde.c | 232 + client-src/amsinixfixdevs.sh | 96 + client-src/calcsize.c | 538 + client-src/client_util.c | 696 + client-src/client_util.h | 81 + client-src/findpass.c | 154 + client-src/findpass.h | 40 + client-src/getfsent.c | 730 + client-src/getfsent.h | 65 + client-src/killpgrp.c | 152 + client-src/patch-system.sh.in | 144 + client-src/rundump.c | 157 + client-src/runtar.c | 104 + client-src/selfcheck.c | 857 + client-src/sendbackup-dump.c | 399 + client-src/sendbackup-gnutar.c | 585 + client-src/sendbackup-krb4.c | 82 + client-src/sendbackup-krb4.h | 58 + client-src/sendbackup.c | 976 + client-src/sendbackup.h | 85 + client-src/sendsize.c | 1610 + client-src/unctime.c | 93 + client-src/versionsuffix.c | 52 + common-src/Makefile.am | 115 + common-src/Makefile.in | 762 + common-src/alloc.c | 550 + common-src/alloca.c | 481 + common-src/amanda.h | 1198 + common-src/amfeatures.c | 462 + common-src/amfeatures.h | 161 + common-src/amflock.c | 468 + common-src/amregex.h | 117 + common-src/arglist.h | 127 + common-src/clock.c | 177 + common-src/clock.h | 56 + common-src/debug.c | 349 + common-src/dgram.c | 354 + common-src/dgram.h | 64 + common-src/error.c | 173 + common-src/file.c | 674 + common-src/fileheader.c | 467 + common-src/fileheader.h | 70 + common-src/genversion.c | 398 + common-src/getcwd.c | 67 + common-src/krb4-security.c | 659 + common-src/krb4-security.h | 61 + common-src/match.c | 466 + common-src/memmove.c | 55 + common-src/mktime.c | 269 + common-src/pipespawn.c | 325 + common-src/pipespawn.h | 23 + common-src/protocol.c | 1011 + common-src/protocol.h | 97 + common-src/regcomp.c | 32 + common-src/regerror.c | 33 + common-src/regexec.c | 33 + common-src/regfree.c | 33 + common-src/security.c | 613 + common-src/sl.c | 196 + common-src/sl.h | 64 + common-src/snprintf.c | 1037 + common-src/statfs.c | 203 + common-src/statfs.h | 43 + common-src/strcasecmp.c | 34 + common-src/stream.c | 455 + common-src/stream.h | 57 + common-src/strerror.c | 39 + common-src/strftime.c | 255 + common-src/strncasecmp.c | 50 + common-src/strstr.c | 46 + common-src/token.c | 463 + common-src/token.h | 52 + common-src/util.c | 195 + common-src/util.h | 40 + common-src/version.c | 32 + common-src/version.h | 58 + common-src/versuff.c | 74 + common-src/versuff.c.in | 74 + common-src/waitpid.c | 176 + config/Makefile.am | 10 + config/Makefile.in | 430 + config/acinclude.m4i | 1012 + config/config.guess | 1459 + config/config.h.in | 1267 + config/config.sub | 1549 + config/depcomp | 526 + config/install-sh | 251 + config/libtool.m4i | 5943 ++++ config/ltmain.sh | 6422 ++++ config/missing | 360 + config/mkinstalldirs | 150 + configure | 51153 ++++++++++++++++++++++++++++ configure.in | 2825 ++ contrib/README | 14 + contrib/dbbackup.README | 65 + contrib/dbbackup.ksh | 54 + contrib/dbbackup.sql | 23 + contrib/dbbackup.tcl | 230 + contrib/mkamandisk | 59 + contrib/set_prod_link.pl | 144 + contrib/sst/Makefile | 16 + contrib/sst/README | 113 + contrib/sst/README.Amanda | 66 + contrib/sst/sst.c | 2538 ++ contrib/sst/sst.conf | 25 + contrib/sst/sst_def.h | 258 + contrib/sst/sstest.c | 181 + docs/DUMPER-API | 392 + docs/EXCLUDE | 317 + docs/FAQ | 525 + docs/HOWTO-AFS | 8 + docs/HOWTO-CYGWIN.html | 240 + docs/HOWTO-FILE-DRIVER | 356 + docs/INDEXING | 383 + docs/INSTALL | 380 + docs/INTERNALS | 271 + docs/KERBEROS | 76 + docs/LABEL.PRINTING | 51 + docs/MULTITAPE | 136 + docs/Makefile.am | 31 + docs/Makefile.in | 454 + docs/PORT.USAGE | 201 + docs/RAIT | 109 + docs/RESTORE | 193 + docs/SAMBA | 177 + docs/SECURITY | 48 + docs/SYSTEM.NOTES | 305 + docs/TAPE.CHANGERS | 791 + docs/TAPETYPES | 32 + docs/UPGRADE | 60 + docs/VTAPE-API | 49 + docs/WHATS.NEW | 392 + docs/WISHLIST | 163 + docs/YEAR2000 | 5 + docs/ZFTAPE | 82 + docs/chg-scsi.notes | 343 + example/3hole.ps | 994 + example/8.5x11.ps | 253 + example/DIN-A4.ps | 240 + example/DLT.ps | 232 + example/EXB-8500.ps | 233 + example/HP-DAT.ps | 239 + example/Makefile.am | 7 + example/Makefile.in | 427 + example/amanda.conf.chg-scsi.in | 524 + example/amanda.conf.in | 560 + example/chg-mcutil.conf | 66 + example/chg-mcutil.conf.in | 66 + example/chg-multi.conf | 65 + example/chg-scsi-hpux.conf.in | 19 + example/chg-scsi-linux.conf.in | 20 + example/chg-scsi-solaris.conf.in | 19 + example/chg-scsi.conf | 32 + example/config.site | 442 + example/disklist | 110 + man/Makefile.am | 58 + man/Makefile.in | 550 + man/amadmin.8.in | 363 + man/amanda.8.in | 2131 ++ man/amcheck.8.in | 628 + man/amcheckdb.8.in | 54 + man/amcleanup.8.in | 73 + man/amdd.8 | 121 + man/amdump.8.in | 97 + man/amflush.8.in | 141 + man/amgetconf.8.in | 120 + man/amlabel.8.in | 143 + man/ammt.8 | 141 + man/amoverview.8.in | 112 + man/amplot.8 | 174 + man/amrecover.8.in | 487 + man/amreport.8.in | 131 + man/amrestore.8 | 321 + man/amrmtape.8.in | 73 + man/amstatus.8.in | 104 + man/amtape.8 | 144 + man/amtapetype.8.in | 104 + man/amtoc.8.in | 128 + man/amverify.8.in | 71 + man/amverifyrun.8.in | 17 + patches/regex-3.6alpha.patch | 90 + patches/samba-largefs.patch | 56 + patches/tar-1.12.patch | 173 + recover-src/Makefile.am | 50 + recover-src/Makefile.in | 643 + recover-src/amrecover.c | 686 + recover-src/amrecover.h | 108 + recover-src/display_commands.c | 303 + recover-src/extract_list.c | 1754 + recover-src/help.c | 64 + recover-src/set_commands.c | 569 + recover-src/uparse.c | 1324 + recover-src/uparse.h | 45 + recover-src/uparse.y | 175 + recover-src/uscan.c | 1895 ++ recover-src/uscan.l | 205 + regex-src/COPYRIGHT | 20 + regex-src/Makefile | 130 + regex-src/README | 32 + regex-src/WHATSNEW | 101 + regex-src/cclass.h | 31 + regex-src/cname.h | 102 + regex-src/debug.c | 242 + regex-src/engine.c | 1019 + regex-src/fake/limits.h | 4 + regex-src/fake/memmove.c | 26 + regex-src/fake/stdlib.h | 2 + regex-src/main.c | 515 + regex-src/mkh | 76 + regex-src/regcomp.c | 1603 + regex-src/regerror.c | 130 + regex-src/regex.3 | 509 + regex-src/regex.7 | 235 + regex-src/regex2.h | 146 + regex-src/regexec.c | 138 + regex-src/regfree.c | 37 + regex-src/split.c | 319 + regex-src/tests | 476 + regex-src/utils.h | 22 + restore-src/Makefile.am | 44 + restore-src/Makefile.in | 628 + restore-src/amidxtaped.c | 568 + restore-src/amrestore.c | 762 + server-src/Makefile.am | 125 + server-src/Makefile.in | 1028 + server-src/amadmin.c | 1606 + server-src/amcheck.c | 1648 + server-src/amcheckdb.sh.in | 86 + server-src/amcleanup.sh.in | 138 + server-src/amcleanupdisk.c | 224 + server-src/amdump.sh.in | 131 + server-src/amflush.c | 509 + server-src/amfreetapes.sh.in | 94 + server-src/amindex.c | 91 + server-src/amindex.h | 40 + server-src/amindexd.c | 1169 + server-src/amlabel.c | 441 + server-src/amlogroll.c | 169 + server-src/amoverview.pl.in | 170 + server-src/amrmtape.sh.in | 267 + server-src/amstatus.pl.in | 1193 + server-src/amtape.c | 628 + server-src/amtoc.pl.in | 241 + server-src/amtrmidx.c | 254 + server-src/amtrmlog.c | 201 + server-src/amverify.sh.in | 461 + server-src/amverifyrun.sh.in | 58 + server-src/changer.c | 542 + server-src/changer.h | 52 + server-src/conffile.c | 3102 ++ server-src/conffile.h | 284 + server-src/disk_history.c | 102 + server-src/disk_history.h | 45 + server-src/diskfile.c | 1024 + server-src/diskfile.h | 118 + server-src/driver.c | 2342 ++ server-src/driverio.c | 606 + server-src/driverio.h | 107 + server-src/dumper-krb4.c | 70 + server-src/dumper.c | 1874 + server-src/find.c | 721 + server-src/find.h | 24 + server-src/getconf.c | 508 + server-src/holding.c | 612 + server-src/holding.h | 60 + server-src/infofile.c | 817 + server-src/infofile.h | 86 + server-src/list_dir.c | 144 + server-src/list_dir.h | 40 + server-src/logfile.c | 286 + server-src/logfile.h | 76 + server-src/planner.c | 2504 ++ server-src/reporter.c | 2177 ++ server-src/server_util.c | 96 + server-src/server_util.h | 57 + server-src/tapefile.c | 400 + server-src/tapefile.h | 59 + server-src/taper.c | 2264 ++ tape-src/Makefile.am | 78 + tape-src/Makefile.in | 701 + tape-src/amdd.c | 228 + tape-src/ammt.c | 272 + tape-src/output-file.c | 1226 + tape-src/output-file.h | 53 + tape-src/output-null.c | 188 + tape-src/output-null.h | 53 + tape-src/output-rait.c | 1221 + tape-src/output-rait.h | 120 + tape-src/output-tape.c | 650 + tape-src/output-tape.h | 57 + tape-src/tapeio.c | 1518 + tape-src/tapeio.h | 142 + tape-src/tapetype.c | 564 + 349 files changed, 216428 insertions(+) create mode 100644 AUTHORS create mode 100644 COPYRIGHT create mode 100644 COPYRIGHT-APACHE create mode 100644 COPYRIGHT-REGEX create mode 100644 ChangeLog create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 Makefile.in create mode 100644 NEWS create mode 100644 README create mode 100644 acinclude.m4 create mode 100644 aclocal.m4 create mode 100644 amplot/Makefile.am create mode 100644 amplot/Makefile.in create mode 100644 amplot/amcat.awk.in create mode 100644 amplot/amplot.awk create mode 100644 amplot/amplot.g create mode 100644 amplot/amplot.sh.in create mode 100644 changer-src/Makefile.am create mode 100644 changer-src/Makefile.in create mode 100644 changer-src/chg-chio.pl.in create mode 100644 changer-src/chg-chs.sh.in create mode 100644 changer-src/chg-disk.sh.in create mode 100644 changer-src/chg-iomega.pl.in create mode 100755 changer-src/chg-juke.sh.in create mode 100644 changer-src/chg-manual.sh.in create mode 100644 changer-src/chg-mcutil.sh.in create mode 100644 changer-src/chg-mtx.sh.in create mode 100644 changer-src/chg-multi.sh.in create mode 100644 changer-src/chg-null.sh.in create mode 100644 changer-src/chg-rait.sh.in create mode 100644 changer-src/chg-rth.pl.in create mode 100644 changer-src/chg-scsi-chio.c create mode 100644 changer-src/chg-scsi.c create mode 100644 changer-src/chg-zd-mtx.sh.in create mode 100644 changer-src/libscsi.h create mode 100644 changer-src/scsi-aix.c create mode 100644 changer-src/scsi-bsd.c create mode 100644 changer-src/scsi-cam.c create mode 100644 changer-src/scsi-changer-driver.c create mode 100644 changer-src/scsi-chio.c create mode 100644 changer-src/scsi-defs.h create mode 100644 changer-src/scsi-hpux.c create mode 100644 changer-src/scsi-hpux_new.c create mode 100644 changer-src/scsi-irix.c create mode 100644 changer-src/scsi-linux.c create mode 100644 changer-src/scsi-proto.c create mode 100644 changer-src/scsi-solaris.c create mode 100644 changer-src/sense.c create mode 100644 client-src/Makefile.am create mode 100644 client-src/Makefile.in create mode 100644 client-src/amandad-krb4.c create mode 100644 client-src/amandad.c create mode 100644 client-src/amandates.c create mode 100644 client-src/amandates.h create mode 100644 client-src/amhpfixdevs.sh create mode 100644 client-src/amqde.c create mode 100644 client-src/amsinixfixdevs.sh create mode 100644 client-src/calcsize.c create mode 100644 client-src/client_util.c create mode 100644 client-src/client_util.h create mode 100644 client-src/findpass.c create mode 100644 client-src/findpass.h create mode 100644 client-src/getfsent.c create mode 100644 client-src/getfsent.h create mode 100644 client-src/killpgrp.c create mode 100644 client-src/patch-system.sh.in create mode 100644 client-src/rundump.c create mode 100644 client-src/runtar.c create mode 100644 client-src/selfcheck.c create mode 100644 client-src/sendbackup-dump.c create mode 100644 client-src/sendbackup-gnutar.c create mode 100644 client-src/sendbackup-krb4.c create mode 100644 client-src/sendbackup-krb4.h create mode 100644 client-src/sendbackup.c create mode 100644 client-src/sendbackup.h create mode 100644 client-src/sendsize.c create mode 100644 client-src/unctime.c create mode 100644 client-src/versionsuffix.c create mode 100644 common-src/Makefile.am create mode 100644 common-src/Makefile.in create mode 100644 common-src/alloc.c create mode 100644 common-src/alloca.c create mode 100644 common-src/amanda.h create mode 100644 common-src/amfeatures.c create mode 100644 common-src/amfeatures.h create mode 100644 common-src/amflock.c create mode 100644 common-src/amregex.h create mode 100644 common-src/arglist.h create mode 100644 common-src/clock.c create mode 100644 common-src/clock.h create mode 100644 common-src/debug.c create mode 100644 common-src/dgram.c create mode 100644 common-src/dgram.h create mode 100644 common-src/error.c create mode 100644 common-src/file.c create mode 100644 common-src/fileheader.c create mode 100644 common-src/fileheader.h create mode 100644 common-src/genversion.c create mode 100644 common-src/getcwd.c create mode 100644 common-src/krb4-security.c create mode 100644 common-src/krb4-security.h create mode 100644 common-src/match.c create mode 100644 common-src/memmove.c create mode 100644 common-src/mktime.c create mode 100644 common-src/pipespawn.c create mode 100644 common-src/pipespawn.h create mode 100644 common-src/protocol.c create mode 100644 common-src/protocol.h create mode 100644 common-src/regcomp.c create mode 100644 common-src/regerror.c create mode 100644 common-src/regexec.c create mode 100644 common-src/regfree.c create mode 100644 common-src/security.c create mode 100644 common-src/sl.c create mode 100644 common-src/sl.h create mode 100644 common-src/snprintf.c create mode 100644 common-src/statfs.c create mode 100644 common-src/statfs.h create mode 100644 common-src/strcasecmp.c create mode 100644 common-src/stream.c create mode 100644 common-src/stream.h create mode 100644 common-src/strerror.c create mode 100644 common-src/strftime.c create mode 100644 common-src/strncasecmp.c create mode 100644 common-src/strstr.c create mode 100644 common-src/token.c create mode 100644 common-src/token.h create mode 100644 common-src/util.c create mode 100644 common-src/util.h create mode 100644 common-src/version.c create mode 100644 common-src/version.h create mode 100644 common-src/versuff.c create mode 100644 common-src/versuff.c.in create mode 100644 common-src/waitpid.c create mode 100644 config/Makefile.am create mode 100644 config/Makefile.in create mode 100644 config/acinclude.m4i create mode 100755 config/config.guess create mode 100644 config/config.h.in create mode 100755 config/config.sub create mode 100755 config/depcomp create mode 100755 config/install-sh create mode 100644 config/libtool.m4i create mode 100644 config/ltmain.sh create mode 100755 config/missing create mode 100755 config/mkinstalldirs create mode 100755 configure create mode 100644 configure.in create mode 100644 contrib/README create mode 100755 contrib/dbbackup.README create mode 100755 contrib/dbbackup.ksh create mode 100755 contrib/dbbackup.sql create mode 100755 contrib/dbbackup.tcl create mode 100644 contrib/mkamandisk create mode 100644 contrib/set_prod_link.pl create mode 100644 contrib/sst/Makefile create mode 100644 contrib/sst/README create mode 100644 contrib/sst/README.Amanda create mode 100644 contrib/sst/sst.c create mode 100644 contrib/sst/sst.conf create mode 100644 contrib/sst/sst_def.h create mode 100644 contrib/sst/sstest.c create mode 100644 docs/DUMPER-API create mode 100644 docs/EXCLUDE create mode 100644 docs/FAQ create mode 100644 docs/HOWTO-AFS create mode 100644 docs/HOWTO-CYGWIN.html create mode 100644 docs/HOWTO-FILE-DRIVER create mode 100644 docs/INDEXING create mode 100644 docs/INSTALL create mode 100644 docs/INTERNALS create mode 100644 docs/KERBEROS create mode 100644 docs/LABEL.PRINTING create mode 100644 docs/MULTITAPE create mode 100644 docs/Makefile.am create mode 100644 docs/Makefile.in create mode 100644 docs/PORT.USAGE create mode 100644 docs/RAIT create mode 100644 docs/RESTORE create mode 100644 docs/SAMBA create mode 100644 docs/SECURITY create mode 100644 docs/SYSTEM.NOTES create mode 100644 docs/TAPE.CHANGERS create mode 100644 docs/TAPETYPES create mode 100644 docs/UPGRADE create mode 100644 docs/VTAPE-API create mode 100644 docs/WHATS.NEW create mode 100644 docs/WISHLIST create mode 100644 docs/YEAR2000 create mode 100644 docs/ZFTAPE create mode 100644 docs/chg-scsi.notes create mode 100644 example/3hole.ps create mode 100644 example/8.5x11.ps create mode 100644 example/DIN-A4.ps create mode 100644 example/DLT.ps create mode 100644 example/EXB-8500.ps create mode 100644 example/HP-DAT.ps create mode 100644 example/Makefile.am create mode 100644 example/Makefile.in create mode 100644 example/amanda.conf.chg-scsi.in create mode 100644 example/amanda.conf.in create mode 100644 example/chg-mcutil.conf create mode 100644 example/chg-mcutil.conf.in create mode 100644 example/chg-multi.conf create mode 100644 example/chg-scsi-hpux.conf.in create mode 100644 example/chg-scsi-linux.conf.in create mode 100644 example/chg-scsi-solaris.conf.in create mode 100644 example/chg-scsi.conf create mode 100644 example/config.site create mode 100644 example/disklist create mode 100644 man/Makefile.am create mode 100644 man/Makefile.in create mode 100644 man/amadmin.8.in create mode 100644 man/amanda.8.in create mode 100644 man/amcheck.8.in create mode 100644 man/amcheckdb.8.in create mode 100644 man/amcleanup.8.in create mode 100644 man/amdd.8 create mode 100644 man/amdump.8.in create mode 100644 man/amflush.8.in create mode 100644 man/amgetconf.8.in create mode 100644 man/amlabel.8.in create mode 100644 man/ammt.8 create mode 100644 man/amoverview.8.in create mode 100644 man/amplot.8 create mode 100644 man/amrecover.8.in create mode 100644 man/amreport.8.in create mode 100644 man/amrestore.8 create mode 100644 man/amrmtape.8.in create mode 100644 man/amstatus.8.in create mode 100644 man/amtape.8 create mode 100644 man/amtapetype.8.in create mode 100644 man/amtoc.8.in create mode 100644 man/amverify.8.in create mode 100644 man/amverifyrun.8.in create mode 100644 patches/regex-3.6alpha.patch create mode 100644 patches/samba-largefs.patch create mode 100644 patches/tar-1.12.patch create mode 100644 recover-src/Makefile.am create mode 100644 recover-src/Makefile.in create mode 100644 recover-src/amrecover.c create mode 100644 recover-src/amrecover.h create mode 100644 recover-src/display_commands.c create mode 100644 recover-src/extract_list.c create mode 100644 recover-src/help.c create mode 100644 recover-src/set_commands.c create mode 100644 recover-src/uparse.c create mode 100644 recover-src/uparse.h create mode 100644 recover-src/uparse.y create mode 100644 recover-src/uscan.c create mode 100644 recover-src/uscan.l create mode 100644 regex-src/COPYRIGHT create mode 100644 regex-src/Makefile create mode 100644 regex-src/README create mode 100644 regex-src/WHATSNEW create mode 100644 regex-src/cclass.h create mode 100644 regex-src/cname.h create mode 100644 regex-src/debug.c create mode 100644 regex-src/engine.c create mode 100644 regex-src/fake/limits.h create mode 100644 regex-src/fake/memmove.c create mode 100644 regex-src/fake/stdlib.h create mode 100644 regex-src/main.c create mode 100644 regex-src/mkh create mode 100644 regex-src/regcomp.c create mode 100644 regex-src/regerror.c create mode 100644 regex-src/regex.3 create mode 100644 regex-src/regex.7 create mode 100644 regex-src/regex2.h create mode 100644 regex-src/regexec.c create mode 100644 regex-src/regfree.c create mode 100644 regex-src/split.c create mode 100644 regex-src/tests create mode 100644 regex-src/utils.h create mode 100644 restore-src/Makefile.am create mode 100644 restore-src/Makefile.in create mode 100644 restore-src/amidxtaped.c create mode 100644 restore-src/amrestore.c create mode 100644 server-src/Makefile.am create mode 100644 server-src/Makefile.in create mode 100644 server-src/amadmin.c create mode 100644 server-src/amcheck.c create mode 100644 server-src/amcheckdb.sh.in create mode 100644 server-src/amcleanup.sh.in create mode 100644 server-src/amcleanupdisk.c create mode 100644 server-src/amdump.sh.in create mode 100644 server-src/amflush.c create mode 100644 server-src/amfreetapes.sh.in create mode 100644 server-src/amindex.c create mode 100644 server-src/amindex.h create mode 100644 server-src/amindexd.c create mode 100644 server-src/amlabel.c create mode 100644 server-src/amlogroll.c create mode 100644 server-src/amoverview.pl.in create mode 100644 server-src/amrmtape.sh.in create mode 100644 server-src/amstatus.pl.in create mode 100644 server-src/amtape.c create mode 100644 server-src/amtoc.pl.in create mode 100644 server-src/amtrmidx.c create mode 100644 server-src/amtrmlog.c create mode 100644 server-src/amverify.sh.in create mode 100644 server-src/amverifyrun.sh.in create mode 100644 server-src/changer.c create mode 100644 server-src/changer.h create mode 100644 server-src/conffile.c create mode 100644 server-src/conffile.h create mode 100644 server-src/disk_history.c create mode 100644 server-src/disk_history.h create mode 100644 server-src/diskfile.c create mode 100644 server-src/diskfile.h create mode 100644 server-src/driver.c create mode 100644 server-src/driverio.c create mode 100644 server-src/driverio.h create mode 100644 server-src/dumper-krb4.c create mode 100644 server-src/dumper.c create mode 100644 server-src/find.c create mode 100644 server-src/find.h create mode 100644 server-src/getconf.c create mode 100644 server-src/holding.c create mode 100644 server-src/holding.h create mode 100644 server-src/infofile.c create mode 100644 server-src/infofile.h create mode 100644 server-src/list_dir.c create mode 100644 server-src/list_dir.h create mode 100644 server-src/logfile.c create mode 100644 server-src/logfile.h create mode 100644 server-src/planner.c create mode 100644 server-src/reporter.c create mode 100644 server-src/server_util.c create mode 100644 server-src/server_util.h create mode 100644 server-src/tapefile.c create mode 100644 server-src/tapefile.h create mode 100644 server-src/taper.c create mode 100644 tape-src/Makefile.am create mode 100644 tape-src/Makefile.in create mode 100644 tape-src/amdd.c create mode 100644 tape-src/ammt.c create mode 100644 tape-src/output-file.c create mode 100644 tape-src/output-file.h create mode 100644 tape-src/output-null.c create mode 100644 tape-src/output-null.h create mode 100644 tape-src/output-rait.c create mode 100644 tape-src/output-rait.h create mode 100644 tape-src/output-tape.c create mode 100644 tape-src/output-tape.h create mode 100644 tape-src/tapeio.c create mode 100644 tape-src/tapeio.h create mode 100644 tape-src/tapetype.c diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..8c8dd4b --- /dev/null +++ b/AUTHORS @@ -0,0 +1,48 @@ +This file lists the current members of the Amanda Development Team, +i.e., people who have write access to the sources of Amanda. + +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 + +- Mike Grupenhoff : ex-UMIACS hacker + +- Todd Kover : lists & ex-UMIACS hacker, active developer and +supporter + +- James Mathiesen : numerous bug fixes + +- Alan McIvor : original developer of amindex +feature, various bug fixes + +- George Scott : active developer and +supporter in the 2.4.0 release cycle + +- Alexandre Oliva : active developer and +supporter + +- 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. + +- Curtis Varner : planned features, bug fixes + +- John R. Jackson : security fixes, active +developer and supporter + +- Jean-Louis Martineau : active developer +and supporter + +- Thomas Hepper : active developer of changer-src + +- Jon LaBadie : active supporter + +- Stefan G. Weichinger : documentation, author of + file:driver + + +Many other people have contributed to the development of Amanda; check +the ChangeLog for their names and e-mail addresses. diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 0000000..cea671e --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,25 @@ +/* + * Amanda, The Advanced Maryland Automatic Network Disk Archiver + * Copyright (c) 1991-1998 University of Maryland at College Park + * All Rights Reserved. + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation, and that the name of U.M. not be used in advertising or + * publicity pertaining to distribution of the software without specific, + * written prior permission. U.M. makes no representations about the + * suitability of this software for any purpose. It is provided "as is" + * without express or implied warranty. + * + * U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M. + * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Authors: the Amanda Development Team. Its members are listed in a + * file named AUTHORS, in the root directory of this distribution. + */ diff --git a/COPYRIGHT-APACHE b/COPYRIGHT-APACHE new file mode 100644 index 0000000..998fb56 --- /dev/null +++ b/COPYRIGHT-APACHE @@ -0,0 +1,57 @@ +If your system does not have the snprintf function, then a version from +the Apache distribution is used and has the following notice: + +/* ==================================================================== + * Copyright (c) 1995-1997 The Apache Group. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the Apache Group + * for use in the Apache HTTP server project (http://www.apache.org/)." + * + * 4. The names "Apache Server" and "Apache Group" must not be used to + * endorse or promote products derived from this software without + * prior written permission. + * + * 5. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the Apache Group + * for use in the Apache HTTP server project (http://www.apache.org/)." + * + * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Group and was originally based + * on public domain software written at the National Center for + * Supercomputing Applications, University of Illinois, Urbana-Champaign. + * For more information on the Apache Group and the Apache HTTP server + * project, please see . + * + * This code is based on, and used with the permission of, the + * SIO stdio-replacement strx_* functions by Panos Tsirigotis + * for xinetd. + */ diff --git a/COPYRIGHT-REGEX b/COPYRIGHT-REGEX new file mode 100644 index 0000000..33743d3 --- /dev/null +++ b/COPYRIGHT-REGEX @@ -0,0 +1,11 @@ +The regular expressions library used by Amanda was written by Henry +Spencer. The full library distribution is in the regex-src directory, +as well as its copyright notice and license. + +A newer version of this library may be available in the URL +ftp://ftp.zoo.toronto.edu/pub/regex.shar + +The one distributed with amanda since 2.4.0b4 is a slightly modified +alpha3.6, released on September 30, 1997. The differences between the +released library and the one distributed with Amanda can be found in +patches/regex-3.6alpha.patch diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..95f93e7 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,9900 @@ +2004-06-22 Jean-Louis Martineau + + * Amanda 2.4.4p3 released. + * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p3). + * News: Changes in release 2.4.4p3. + +2004-05-10 Jean-Louis Martineau + Patch by Paul Bijnens + + * server-src/planner.c: Log L_DISK for autoflush disk. + +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. + * client-src/amandad-krb4.c: Change u_int32_t for uint32_t. + * common-src/krb4-security.c: Change u_int32_t for uint32_t. + * common-src/krb4-security.h: Change u_int32_t for uint32_t. + * common-src/protocol.h: Change u_int32_t for uint32_t. + * common-src/security.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 + 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/protocol.c: Fix EAGAIN on Linux. + +2004-03-16 Jean-Louis Martineau + + * server-src/amcheck.c: Do labelstr check in correct order. + +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 + * NEWS: * amanda will not use a tape if it's label is not in the + tapelist file (eg. after an amrmtape). + +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-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. + * NEWS: New chg-iomega changer script. + +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-13 Greg Troxel + + * common-src/krb4-security.c (errstr;): Make krb4 work on 64-bit + platforms. Essentially, change 'unsigned long' to u_int32_t for + on-the-wire representation of checksums, declaring that the wire + protocol is defined by existing use of unsigned long on 32-bit + machines. + + Modify the data/control handshake similarly, defining a + 'net_timeval' that uses int32_t rather than long. Cleanup a latent + bug in handshake code that didn't cause trouble before when + everything was the same type. + + This change preserves interoperability with the previous code + on 32 bit machines. (It is likely that 64/64 interoperability + was ok, but unlikely that it was important to anyone, given + the low population of amanda-krb users.) + +2004-01-14 Stefan G. Weichinger + + * docs/INSTALL: Add config for xinetd. + +2004-01-08 Jean-Louis Martineau + + * Amanda 2.4.4p2 released. + * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p2). + + +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-19 Jean-Louis Martineau + + * client-src/Makefile.am (EXTRA_DIST): Add amandad-krb4.c, + sendbackup-krb4.c and sendbackup-krb4.h. + * common-src/Makefile.am (EXTRA_DIST): Add krb4-security.c and + krb4-security.h. + * server-src/Makefile.am (EXTRA_DIST): Add dumper-krb4.c. + * NEWS: Kerberos 4 support integrated and functional again. + +2003-12-16 Jean-Louis Martineau + patch by Greg Troxel + and Beverly Schwartz + + Original *krb4* files are taken form the amanda-krb repository. + + Add kerberos 4 support. + * client-src/amandad-krb4.c: New file. + * client-src/amandad.c: Fix close of req_pipe[0]/rep_pipe[1]. + * client-src/sendbackup-krb4.c: New file. + * client-src/sendbackup-krb4.h: New file. + * client-src/sendbackup.c: Use options->krb4_auth. + * common-src/amanda.h: Fix for initgroups. + * common-src/krb4-security.c: New file. + * common-src/krb4-security.h: New file. + * common-src/token.h: Use HAVE_SHQUOTE_DECL. + * configure.in: Enhance finding krb libs. + * server-src/diskfile.c: Fix. + * server-src/dumper-krb4.c: New file. + * server-src/getconf.c: Define HOSTNAME_INSTANCE. + +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. + * NEWS: new chag-disk changer script to use with the file: driver. + +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 + + * 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): Empty tapeq in TAPE_ERROR + and BOGUS case. + +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. + * NEWS: 'amadmin find' list disk removed from the disklist. + * NEWS: amrecover can recover a disk removed from the disklist file. + +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-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 macro 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 clear 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. + * News: New initial_poll_delay config in chg-zd-mtx. + +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-06 Thomas Hepper + * changer-src/chg-scsi.c: Added debug Information to see which sg + version is used + * changer-src/scsi-linux.c: Added debug Information to see which sg + version is used. + Removed check if an data packet is larger than 4096 byte. + +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-27 Jean-Louis Martineau + + * Amanda 2.4.4p1 released. + * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p1). + + +2003-06-25 Jean-Louis Martineau + + * server-src/amstatus.pl.in: Fix print spacing for idle dumpers. + +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-14 Jean-Louis Martineau + + * server-src/holding.c: Skip lost+found directories on holding disks. + +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 + + * 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/dumper.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-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): Remove linux/ftape-header-segment.h, + linux/ftape-vendors.h and 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. + * server-src/dumper.c (process_dumpeof): 'missing size line' and + 'missing end line' should be failed, not strange. + +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-01 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. + * NEWS: 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 + + * NEWS: amrecover_changer works with chg-multi. + +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 + + * 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. + * NEWS: rait: works with file: + +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. + * NEWS: default driveslot for chg-zd-mtx is now 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. + * NEWS: Document amplot -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-24 Jean-Louis Martineau + Patch by Martin Forssen + + * server-src/changer.c (changer_label): Do not amfree(rest). + +2003-02-24 Jean-Louis Martineau + + * Amanda 2.4.4 released. + * configure.in: AM_INIT_AUTOMAKE(amanda, 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. + * NEWS: 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 + + * Amanda 2.4.4b1 released. + * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4b1). + +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 + + * server-src/dumper.c (update_dataptr): Loop if rc == 0. + +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. + * NEWS: Document it. + * 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-02 Jean-Louis Martineau + + * server-src/amcheck.c (handle_response): Print 'request timed out' or + 'reply timed out'. + * server-src/dumper.c (sendbackup_response): Print 'request timeout' or + 'reply timeout'. + +2003-01-02 Jean-Louis Martineau + + * common-src/protocol.h (proto_t): Add prevstate field. + * common-src/protocol.c: Keep prevstate up to date. + * server-src/planner.c (handle_result): Use prevstate to write + Request or Estimate timeout. + +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. + * common-src/file.c: Ditto. + * common-src/security.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/amcheck.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/changer.c: Ditto. + * server-src/conffile.c: Ditto. + * server-src/diskfile.c: Ditto. + * server-src/driver.c: Ditto. + * server-src/driverio.c: Ditto. + * server-src/dumper.c: Ditto. + * server-src/find.c: Ditto. + * server-src/getconf.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-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-12 Jean-Louis Martineau + + * client-src/selfcheck.c: Typo. + +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 + + * 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 ap_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.5.0 + * changer-src/chg-juke.sh.in: New changer from 2.5.0 + * changer-src/chg-rait.sh.in: New changer from 2.5.0 + * changer-src/chg-null.sh.in: New changer from 2.5.0 + * changer-src/Makefile.am: Install them. + * configure.in (AC_CONFIG_FILES): Add chg-juke.sh.in, chg-rait.sh.in and + chg-null.sh.in + +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 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/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