Subject: CVS commit: pkgsrc/sysutils
From: Steven Drake
Date: 2012-07-30 09:21:12
Message id: 20120730072112.D1870175DD@cvs.netbsd.org

Log Message:
Update amanda to 3.3.1

Changes in release 3.3.1

   * amrecover
       o New 'settransalte' command.
   * amanda.conf
       o new '$s' substitution in autolabel.
       o new 'max-dle-by-volume' global option.
       o new 'eject-volume' global option.
   * diskfile
       o new 'includefile' option.
   * amcheck
       o new '--client-verbose' argument.
   * All programs have a new '--version' argument.
   * ampgsql can take property from server configuration.
   * amgetconf can print one property of a section.
   * s3 device
       o new S3_SERVER_SIDE_ENCRYPTION property.
       o use multiple thread to speedup deleting a volume.
   * Many bug fix.

Changes in release 3.3.0

   * The default auth is changed to "bsdtcp", if you are using the \ 
default bsd
     then you must add it to your configuration.
       o in amanda.conf
       o in amanda-client.conf
       o in dumptype/disklist
       o in xinetd (if no '-auth' argument to amandad)
   * amdump trap crtl-c, it still send the report and do cleanup if you do
     one crtl-c, do it more than once to abort the run.
   * s3 device
       o use multiple threads to speedup the transfer
       o can connect to eucalytus.
       o new NB_THREADS_BACKUP property
       o new NB_THREADS_RECOVERY property
       o new S3_HOST property
       o new S3_SERVICE_PATH property
       o new S3_SUBDOMAIN property
   * chg-aggregate: new changer that use other changer sequentially.
   * meta-volume
   * Add meta label in tapelist file
   * chg-disk:
       o support for removable disk
       o new NUM-SLOT property
       o new AUTO-CREATE-SLOT property
       o new REMOVABLE property
       o new MOUNT property
       o new UMOUNT property
       o new UMOUNT-LOCKFILE property
       o new UMOUNT-IDLE property
   * new taperscan algorithm:
       o oldest: this algorithm try to run through the volumes in the oldest
	 order
       o lexical: this algorithm try to run through the volumes in the natural
	 order
   * Change in amanda.conf
       o new meta-autolabel option
       o autolabel can include org, config, barcode, meta in the label
       o new client-name option in appication and script.
   * application and script in amanda-client.conf can be used to set default
     properties for application or script.
   * amlabel
       o The label argument is no longer required, an autolabel can be
	 generated
       o new --meta option
       o new --barcode option
       o new --assign option
   * amgtar, amstar: The path must be specified, it will not works with a
     device.
   * amrecover: decompression and decryption are now done on the client if
		compression/encryption was done on the client.
   * amtape: inventory print the current slot
   * amanda.conf:
       o autoflush have value "no|yes|all"
       o script have single-execution setting.
       o Add pre-amcheck, post-amcheck, pre-estimate, post-estimate, pre-backup
         and post-backup to execute-on of script.
       o Add taperscan and interactivity section.
       o add 'server' value in recovery-limit.
       o add dump-limit in a dumptype.
   * amanda-client.conf
       o add amdump-server setting.
   * script are searched in $APPLICATION_DIR, $CONFIG_DIR/<conf>/application
     and $CONFIG_DIR/application
   * amservice
       o add -s argument
       o is also installed on client
   * new amdumpd server service, if enable, it allow client to start a backup
     of itself.
   * new amdump_client program, it is use on client to start a backup of itself
   * implement restore command amzfs-sendrecv, it can be use with amrecover.

Changes in release 3.2.2

   * Do not restore the NUL padding bytes, some program fail with them.
   * Fix driver doing nothing if taper crash early.
   * Fix taperalog *FIT no going to second volume.
   * Fix amrestore '-p' not going to next file.
   * flush even if flush threshold are not met if it save tape space.
   * fix crash in amtrmidx due to memory leak.
   * amsamba use 'Use smbclient -TF' for restore.

Changes in release 3.2.1

   * barcode are added to the tapelist file.
   * Faster 'amadmin find', improve speed on many programs.
   * device-output-buffer-size default to a minimum of 4*block_size.
   * ssh auth use the client-port
   * Bug fixed:
      o "Can't opendata output stream: Connection refused".
      o Better handling of dump to tape.
      o Corrupted 'amdump' log file, amstatus not showing correct state.
      o Execute subprocess with the config overwrite.
      o tape-device allow to set LEOM.
      o Crash in robot changer.
      o Script output property are not sent to application.

Changes in release 3.2.0

   * Support for multiple simultaneous writes to storage devices
      o Can write to all available drives in parallel.
      o Works only with the new changer API.
      o Useful if two or more volumes are used in a single run.
      o dump direct to tape can be scheduled any time during the run,
        previously they were done sequencially after all dump to holding disk.
      o enabled with the new 'taper-parallel-write' configuration option.
   * Support for LEOM in storage devices
      o allows splitting without partial parts, saving space
      o much more efficient, since parts need not be cached on disk in most
        cases
   * new, simpler splitting commands in the tapetype section:
     part-size, part-cache-type, part-cache-dir, part-cache-max-size; see
     amanda.conf(5) for details
   * Amanda server configuration file changes (amanda.conf)
      o new configuration keyword:
         + taper-parallel-write -- How many drive amanda can write to
                                   in parallel.
      o deprecated configuration keywords:
         + amrecover_do_fsf
         + amrecover_check_label
   * the CONFIG parameter to amidxtaped is now required; this means that
     versions of amrecover older than 2.4.3 will be unable to recover from
     servers running Amanda-3.2 and later.
   * The new dumptype and global parameters 'recovery-limit' can be used to
     limit which hosts may recover from a particular DLE.  See amanda.conf(5)
     and amanda-auth(7) for more information.
   * Several old changers have been removed - these changers will work with
     Amanda for the forseeable future, but are no longer included in the
     distribution.
      o chg-chio
      o chg-chs
      o chg-iomega
      o chg-juke
      o chg-mcutil
      o chg-mtx
      o chg-null (use the new "chg-null:")
      o chg-rait (use the new "chg-rait:{dev1,dev2}")
      o chg-rth
      o chg-scsi-chio
      o chg-scsi
   * Amdump change:
      o new '--no-taper' option to start the run in degraded mode
   * Amvault is much improved, but still experimental:
      o supports assembling split parts on the source volume and re-splitting
        them on the destination
      o supports filtering dumps with the same syntax as amfetchdump
      o a --fulls-only option skips all incremental dumps on the source
      o an --export option tries to move tertiary volumes to import/export
        slots when completed
      o command-line syntax has changed incompatibly; see manpage or
        'amvault --help'
   * Rewritten and improved:
      o amoverview
      o amcheckdump

Changes in release 3.1.0

   * Deprecated old changers; see amanda-changers(7) for replacements.  These
     changers are still available in the distribution, but will be removed in a
     future release.
      o chg-null
      o chg-zd-mtx
      o chg-rait
      o chg-disk
      o chg-multi
   * Although chg-zd-mtx is still supported, we recommend that all users upgrade
     to the more efficient chg-robot.  See contrib/convert-zd-mtx-to-robot.sh
     for a useful conversion script.
   * Amanda server configuration file changes (amanda.conf)
      o deprecated configuration keywords:
	 + label_new_tapes
      o keywords deprecated in 2.6.1:
         + rawtapedev
	 + tapebufs
	 + file-pad
      o new configuration keyword
         + autolabel   -- replace label_new_tapes
         + columnspec  -- can specify a precision.
         + order       -- in script, to specify script order execution.
         + client_port -- in dumptype, to specify which port to connect on
                          the client.
         + estimate    -- in dumptype, can specify multiple estimate method.
      o accept 'define' keyword for defining an holdingdisk
   * Amanda client configuration file changes (amanda-client.conf)
      o new configuration keyword
         + debug_days  -- how many days to keep debug files.
         + client_port -- use by amrecover, specify which port to connect on
                          the server.
   * Removed compile-time default --with-changer-device: specify a device
     explicitly in amanda.conf instead
   * amtape behavior has changed:
      o 'device' subcommand removed
      o 'slot advance' subcommand removed
      o 'update' subcommand no longer displays each slot as it is updated, and
        is not supported by all changers
      o taperscan output has changed
      o new 'inventory' subcommand
   * amrmtape rewrite
      o use long option
         + --changer    -- Specify which changer to use
         + --cleanup    -- Remove logs and indexes associated with label
         + --dryrun     -- do not update the original copies.
         + --erase      -- Attempt to erase the data contained on the volume
         + --keep-label -- Do not remove label from the tapelist
         + --quiet      -- Opposite of --verbose
         + --verbose    -- List backups of hosts and disks that are being
                           discarded.
   * amdevcheck
      o new --label option.
      o new --properties option.
   * Device API
      o changed wildcard setting for S3_BUCKET_LOCATION from "" to \ 
"*"
      o new 'ndmp:' device to write to a tape on an ndmp server.
      o new 'dvdrw:' device to write to a dvd drive.
   * Application API
      o new properties to many applications
      o amgtar
         + new ACLS, SELINUX and XATTRS properties
      o amsamba
         + Allow '\' in diskname and amandapass.
         + new ALLOW-ANONYMOUS property.
      o new applications:
         + ampgsql  -- Backup PostgreSQL using continuous WAL archiving
         + amsuntar -- Backup filesytem with the SUN tar
         + amraw    -- Backup only one directory entry
   * New taper, with DirectTCP support, changed tape and catalog format:
      o all dumpfiles are now F_SPLIT_DUMPFILE
      o all on-tape dumpfiles have numparts=-1, since it's no longer possible
        to calculate this value in advance
      o there is no logging or reporting of zero-byte, successful parts (this
        may cause gaps in filenums in the catalog)
   * Redesigned amreport
      o much more natural command-line interface (just run 'amreport $config')
      o experimental XML output
   * configuration override for dumptype works with inheritance.

Changes in release 2.6.1p2
   * amtapetype: new -p option
   * Bugs fixed
      o S3 device driver
      o amcheckdump
      o file not removed from holding disk
      o sendbackup compatibility with a 2.4.2 server
      o handle EROFS error from tape device.
      o zfs snapshot name us the diskname.
      o fix fd allocation in amandad
      o crash in amflush

Changes in release 2.6.1p1

   * amplot: better output
   * Don't include genversion.h in distribution tarballs.
   * Bugs fixed
      o S3 device driver
      o rait device driver
      o amstatus
      o configure
      o application-api
      o compilation on some platform
      o others small bug

Changes in release 2.6.1

   * Amanda server configuration file changes (amanda.conf)
      o deprecated configuration keywords:
         + rawtapedev
	 + tapebufs
	 + file-pad
   * Application API: Allow to easily write wrappers around any backup program,
     See the 'amanda-applications' man page.
      o amgtar: Use GNU tar, it is a lot more configurable than the GNUTAR
        program. See 'amgtar' man page.
      o amstar: Use star to do a backup, it work only on a partition. See
        'amstar' man page.
      o amsamba: Use smbclient to backup a cifs share, see amsamba man page.
      o amzfs-sendrecv: Do a backup of a ZFS filesystem with 'zfs send'.
   * Script API: Allow to run script before and after amanda process, see the
     'amanda-scripts' man page.
      o amzfs-snapshot: Do a snapshot of a ZFS filesystem, then 'amgtar'
        application will backup the snapshot. See 'amzfs-snapshot' man page.
      o script-email: Simple script to send email. see 'script-email' man page.
   * Changer API v2.0: perl-based changer interface supporting concurrent
     use of multiple devices and changers.
      o currently operating in "compatibility mode," calling old changer
        shell scripts.
      o under active development.
   * Xfer API: generic library to move and filter data with maximal efficiency
      o can read from and write to arbitrary devices, files, etc.
      o only used in some applications.
   * Amanda archive format: A simple archive format that an application can
     use to create backup image.
   * 'amarchiver' program to manipulate file in amanda archive format.
   * Many improvements to report better error message to user.
   * amtape subcommands 'slot prev' and 'slot last' are removed.
   * Dozens more perl libraries, with more stable interfaces.
   * Many bugs fixed and improvement.
   * amgetconf '--client' option to retrieve config from
     amanda-client.conf on a client.
   * Amanda configuration file changes
       o new application-tool section
       o new script-tool section
       o new device section
       o new changer section

Changes in release 2.6.0

   * configure --disable-shared doesn't work because perl modules require
     shared libraries.  Use configure --with-static-binaries to build
     statically linked binaries.
   * 'amverify' and 'amverifyrun' are deprecated and replaced with the
     new, more flexible 'amcheckdump'
   * 'amdd' and 'ammt' are deprecated.
   * Some Amanda files are now installed in new "amanda/" subdirectories:
     libraries are now installed in $libdir/amanda and internal programs
     are now installed in $libexecdir/amanda.
   * The amandates file, previously at /etc/amandates, is now at
     $localstatedir/amanda/amandates.  You may want to move your existing
     /etc/amandates when you upgrade Amanda.
   * New 'amcryptsimple', 'amgpgcrypt' - encryption plugins based on gpg.
   * New 'amserverconfig', 'amaddclient' - Initial Amanda configuration tools
     these tools make assumptions, please see man page.
   * Many bugs fixed and code rewrite/cleanup
   * glib is required to compile and run amanda.
   * Device API: pluggable interface to storage devices, supporting tapes,
     vtapes, RAIT, and Amazon S3
   * New perl modules link directly to Amanda, to support writing Amanda
     applications in Perl. Perl module are installed by default in the perl
     installsitelib directory. It can be changed with
     'configure --with-amperldir'.
   * New 'local' security driver supports backups of the amanda server
     without any network connection or other configuration.
   * Almost 200 unit tests are available via 'make installcheck'.
   * Amanda configuration file changes
         o amanda.conf changes
               + flush-threshold-dumped
               + flush-threshold-scheduled
               + taperflush
               + device_property
               + usetimestamps default to yes

Files:
RevisionActionfile
1.55modifypkgsrc/sysutils/amanda-client/Makefile
1.6modifypkgsrc/sysutils/amanda-client/PLIST
1.57modifypkgsrc/sysutils/amanda-common/Makefile
1.37modifypkgsrc/sysutils/amanda-common/Makefile.common
1.7modifypkgsrc/sysutils/amanda-common/PLIST
1.14modifypkgsrc/sysutils/amanda-common/buildlink3.mk
1.10modifypkgsrc/sysutils/amanda-common/distinfo
1.9modifypkgsrc/sysutils/amanda-common/options.mk
1.2modifypkgsrc/sysutils/amanda-common/version.mk
1.31modifypkgsrc/sysutils/amanda-plot/Makefile
1.2modifypkgsrc/sysutils/amanda-plot/PLIST
1.53modifypkgsrc/sysutils/amanda-server/Makefile
1.8modifypkgsrc/sysutils/amanda-server/PLIST
1.3addpkgsrc/sysutils/amanda-common/INSTALL
1.1addpkgsrc/sysutils/amanda-common/patches/patch-Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-amandad-src_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-application-src_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-client-src_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-client-src_sendbackup-dump.c
1.1addpkgsrc/sysutils/amanda-common/patches/patch-client-src_sendsize.c
1.1addpkgsrc/sysutils/amanda-common/patches/patch-common-src_glib-util.c
1.1addpkgsrc/sysutils/amanda-common/patches/patch-common-src_glib-util.h
1.1addpkgsrc/sysutils/amanda-common/patches/patch-config_amanda_dumpers.m4
1.1addpkgsrc/sysutils/amanda-common/patches/patch-config_amanda_krb5-security.m4
1.1addpkgsrc/sysutils/amanda-common/patches/patch-config_macro-archive_xsltproc.m4
1.1addpkgsrc/sysutils/amanda-common/patches/patch-device-src_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-example_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-oldrecover-src_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-perl_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-recover-src_Makefile.am
1.1addpkgsrc/sysutils/amanda-common/patches/patch-server-src_Makefile.am
1.10removepkgsrc/sysutils/amanda-client/distinfo
1.7removepkgsrc/sysutils/amanda-client/patches/patch-aa
1.9removepkgsrc/sysutils/amanda-client/patches/patch-ab
1.8removepkgsrc/sysutils/amanda-client/patches/patch-ac
1.8removepkgsrc/sysutils/amanda-client/patches/patch-ad
1.9removepkgsrc/sysutils/amanda-client/patches/patch-ae
1.5removepkgsrc/sysutils/amanda-client/patches/patch-af
1.5removepkgsrc/sysutils/amanda-client/patches/patch-ag
1.2removepkgsrc/sysutils/amanda-client/patches/patch-ah
1.2removepkgsrc/sysutils/amanda-client/patches/patch-ai
1.1removepkgsrc/sysutils/amanda-client/patches/patch-aj
1.1removepkgsrc/sysutils/amanda-client/patches/patch-ak
1.8removepkgsrc/sysutils/amanda-common/patches/patch-ab
1.9removepkgsrc/sysutils/amanda-common/patches/patch-ac
1.2removepkgsrc/sysutils/amanda-common/patches/patch-ad
1.1removepkgsrc/sysutils/amanda-common/patches/patch-af
1.1removepkgsrc/sysutils/amanda-common/patches/patch-ag
1.1removepkgsrc/sysutils/amanda-common/patches/patch-ah
1.9removepkgsrc/sysutils/amanda-plot/distinfo
1.4removepkgsrc/sysutils/amanda-plot/patches/patch-aa
1.8removepkgsrc/sysutils/amanda-plot/patches/patch-ab
1.8removepkgsrc/sysutils/amanda-plot/patches/patch-ac
1.13removepkgsrc/sysutils/amanda-server/distinfo
1.5removepkgsrc/sysutils/amanda-server/patches/patch-aa
1.8removepkgsrc/sysutils/amanda-server/patches/patch-ab
1.7removepkgsrc/sysutils/amanda-server/patches/patch-ac
1.8removepkgsrc/sysutils/amanda-server/patches/patch-ad
1.8removepkgsrc/sysutils/amanda-server/patches/patch-ae
1.7removepkgsrc/sysutils/amanda-server/patches/patch-af
1.5removepkgsrc/sysutils/amanda-server/patches/patch-ag
1.7removepkgsrc/sysutils/amanda-server/patches/patch-ah
1.7removepkgsrc/sysutils/amanda-server/patches/patch-ai
1.4removepkgsrc/sysutils/amanda-server/patches/patch-aj
1.4removepkgsrc/sysutils/amanda-server/patches/patch-ak
1.1removepkgsrc/sysutils/amanda-server/patches/patch-aq
1.1removepkgsrc/sysutils/amanda-server/patches/patch-server-src_amstatus.pl.in