summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common
AgeCommit message (Collapse)AuthorFilesLines
2015-08-09Remove references to /usr/adm, as nobody has shipped a /usr/admdholland7-3/+132
directory in their OS for probably some twenty years. Use /var instead. In particular, fix the defaults for CNF_INFOFILE, CNF_LOGDIR, and CNF_INDEXDIR to use the configured LOCALSTATEDIR, which in pkgsrc will be ${VARBASE}/amanda, instead of hardwiring /usr/adm/amanda. PR 38958. PKGREVISION -> 9.
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-03-30Regen distinfo.gdt1-2/+3
(Apparently I added a comment to one of the new patches after creating distinfo and testing. Thanks to joerg@ for pointing out the issue.)
2015-03-27Add 2 fixes to for amanda-server to work on NetBSD.gdt4-2/+101
While amanda-client 3.3 has been stable on NetBSD for a while, the server code has apparently never worked. This commit adds several patches: - include sys/{types,time}.h so autoconf tape drive checks pass - improve error messages when tape drive code is not compiled in - avoid perl crash in report generation These changes have been tested on NetBSD 6 kernel with NetBSD 5 userland, amd64 (for no good reason, but this was the machine with the tape drive), dumping many machines and writing to LTO. The first two patches are taken from an upstream patch committed to the 3.3 branch due to this problem being reported. The third patch is ad hoc based on perl debugging, and needs further investigation. (But it's better to get a report without a header line than an empty mail message.)
2015-03-26Racy build.joerg1-1/+4
2015-02-09In amanda*, reduce default options.gdt3-12/+24
Add an 'ndmp' option, disabled by default. Disable kerberos option by default. These two changes allow amanda to build again on OS X. My belief, posited on pkgsrc-users without contradiction, is that no pkgsrc users use these features anyway. Normal amanda usage these days is over ssh (which gets one PFS). NDMP is for direct dumping of NAS: usage is probably rare and also in large installations where rebuilding is not hard. All in all, I thought it better for the pkgsrc/amanda universe to have consistent options across platforms than to selectively disable on OS X.
2014-10-09Remove SVR4_PKGNAME, per discussion on tech-pkg.wiz1-2/+1
2014-09-25SunOS needs -lsocket.jperkin1-1/+3
2014-07-28Compat RPC defines for SunOS 64-bit.jperkin4-1/+67
2014-06-10Move fix for swig/bool mess to Makefile.common.gdt2-8/+8
With this, amanda-client, amanda-server and amanda-plot also build.
2014-06-09Fix issues with stdbool.h mess created by SWIG.joerg1-1/+7
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-01-06Fix race condition.joerg2-1/+14
2013-12-13Add a patch to modify Amanda::Xfer to not depend onschnoebe3-3/+23
Amanda::Constants::AMANDA_COMPONENTS having 'server' as one of it's values. Instead of conditionally trying to eval in Amanda::XferServer, do it unconditionally. The effect is (nearly) the same.
2013-12-13Need -lsocket and mark package incompatible with builtin mit-krb5 on SunOS.jperkin2-5/+7
2013-07-12Bump PKGREVISION of all packages which create users, to pick up change ofjperkin1-2/+2
sysutils/user_* packages.
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-01-23Fix build with automake-1.13.wiz1-2/+4
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2012-09-25In perl/Makefile.am where ${path_to}/lib${lib}.la has been changed to -l${lib}sbd3-49/+49
and the ${path_to} to the library search paths. Fixes build on Linux.
2012-09-24Remove PKGREVISION line and add note "Do NOT set PKGREVISION in this file!"sbd1-2/+2
2012-09-15recursive bump from libffi shlib major bumpobache1-1/+2
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-09make the package compile on NetBSD -currentspz5-20/+183
2012-07-30Update amanda to 3.3.1sbd31-177/+661
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
2012-07-30Add SPECIAL_PERMS entries for binaries the need special perms.sbd2-4/+7
Because of the above change switch all amanda packages to user-destdir support.
2012-07-30+ Change the AMANADA_USER to 'amandabackup' to be consistent with othersbd2-4/+5
packages (and because I think its a good idea). + Set the AMANDA_USER's home directory to AMANDA_VAR. + Update the AMANDA_USER's gecos comment.
2012-07-30Add some new configure args to bring the config in-line with other binarysbd2-2/+10
distributions: + Add bsd-security, bsdtcp-security, bsdudp-security. + Set default index and tape server to localhost + Build with assertions. + Use a debugging log directory (and add it to OWN_DIRS_PERMS in amanda-common)
2012-07-30The correct mode for amanda's directories is 0750.sbd1-3/+3
2012-07-30Add --without-gnuplot to CONFIGURE_ARGS for amanda-{common,client,server}.sbd1-2/+2
2012-07-30Miscellaneous makefile clean up.sbd2-15/+10
2012-07-30Add a version.mk file with AMANDA_VERSION in it and use that in all amandasbd4-8/+13
packages (including the meta-package) and in the buildlink.
2012-07-30Make amanda-fqdn a suggested options.sbd1-4/+2
Also remove a old comment.
2012-07-19Correctly set Amanda license.sbd1-2/+2
2012-07-16Make amanda-dump-snap a suggested option.sbd1-1/+2
2012-07-14Update sysutils/amanda* descriptions.sbd1-4/+6
2012-07-05Move the amanda-client option definitions to the common options.mk sosbd1-1/+6
that 'PKG_OPTIONS.amanda' works properly.
2012-06-12Add inet6 to default suggested options. It's 2012.wiz1-2/+2
2012-05-21Use += to set pkg supported/suggested options.sbd1-3/+3
2012-05-20If /usr/bin/ssh doesn't exist add openssh depenedance.sbd1-1/+8
2012-05-20Convert AMANDA_SSH and AMANFA_FQDN to pkg options and enable amanda-ssh.sbd2-13/+15
2010-02-19Use REAL_ROOT_USER here.joerg1-2/+2
2009-12-22Fix user-destdir build.joerg1-1/+3
2009-12-14LICENSE for the Amanda packages is basically the same as modified-bsd.heinz1-1/+2
2009-12-11Improved spelling.heinz1-2/+2
2009-12-11Added DESTDIR support.heinz1-1/+2
This should fix PR pkg/42439 by Lloyd Parkes.
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-07-29Disable IPv6 by default, since this doesn't work on systems which arepgoyette3-3/+19
configured for IPv4 only. IPv6 can still be enabled via PKG_OPTIONS. Fixes my PR pkg/38957 ok gdt@
2008-03-08Mac OS X compatibility fix from Nick Goffee.gdt3-2/+22