diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-05-02 13:28:15 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-05-02 13:28:15 +0000 |
commit | 88b61a744d3fb73084e7f9c07d1353c0a7c0d2bd (patch) | |
tree | 071a073b8f5b02d8f0d0c2efb07bc7a48f710161 /sysutils/amanda-dev-client | |
parent | 17b1f25969f0ec2147405b0f0ddefc4228950e7a (diff) | |
download | pkgsrc-88b61a744d3fb73084e7f9c07d1353c0a7c0d2bd.tar.gz |
Packages for amanda 2.4.3b3, a developement snapshot of the 2.4.3 branch.
Some interesting features in the server part over 2.4.2p2 (handling of
barcode readers, dumper priorities, ...)
Diffstat (limited to 'sysutils/amanda-dev-client')
-rw-r--r-- | sysutils/amanda-dev-client/DESCR | 183 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/Makefile | 36 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/PLIST | 17 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/distinfo | 9 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/patches/patch-aa | 15 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/patches/patch-ab | 99 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/patches/patch-ac | 28 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/patches/patch-ad | 15 | ||||
-rw-r--r-- | sysutils/amanda-dev-client/patches/patch-ae | 28 |
9 files changed, 430 insertions, 0 deletions
diff --git a/sysutils/amanda-dev-client/DESCR b/sysutils/amanda-dev-client/DESCR new file mode 100644 index 00000000000..d0168e863ad --- /dev/null +++ b/sysutils/amanda-dev-client/DESCR @@ -0,0 +1,183 @@ +Please note that this is a package of a developement snapshot of the 2.4.3 +branch. + +Amanda, The Advanced Maryland Automatic Network Disk Archiver +Copyright (c) 1991-1998 University of Maryland at College Park +All Rights Reserved. + +See the files COPYRIGHT, COPYRIGHT-REGEX and COPYRIGHT-APACHE for +distribution conditions and official warranty disclaimer. + +PLEASE NOTE: THIS SOFTWARE IS BEING MADE AVAILABLE ``AS-IS''. UMD is making +this work available so that other people can use it. This software is in +production use at our home site - the UMCP Department of Computer Science - +but we make no warranties that it will work for you. Amanda development is +unfunded - the development team maintains the code in their spare time. As a +result, there is no support available other than users helping each other on +the Amanda mailing lists. See below for information on the mailing lists. + + +WHAT IS AMANDA? +--------------- + +This is a release of Amanda, the Advanced Maryland Automatic +Network Disk Archiver. Amanda is a backup system designed to archive many +computers on a network to a single large-capacity tape drive. + +Here are some features of Amanda: + + * written in C, freely distributable. + * built on top of standard backup software: Unix dump/restore, GNU Tar + and others. + * will back up multiple machines in parallel to a holding disk, blasting + finished dumps one by one to tape as fast as we can write files to + tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host + with a large holding disk can be filled by Amanda in under 4 hours. + * does simple tape management: will not overwrite the wrong tape. + * supports tape changers via a generic interface. Easily customizable to + any type of tape carousel, robot, or stacker that can be controlled via + the unix command line. + * supports Kerberos 4 security, including encrypted dumps. The Kerberos + support is available as a separate add-on package, see the file + KERBEROS.HOW-TO-GET on the ftp site, and the file docs/KERBEROS in this + package, for more details. + * for a restore, tells you what tapes you need, and finds the proper + backup image on the tape for you. + * recovers gracefully from errors, including down or hung machines. + * reports results, including all errors in detail, in email. + * will dynamically adjust backup schedule to keep within constraints: no + more juggling by hand when adding disks and computers to network. + * includes a pre-run checker program, that conducts sanity checks on both + the tape server host and all the client hosts (in parallel), and will + send an e-mail report of any problems that could cause the backups to + fail. + * can compress dumps before sending or after sending over the net, with + either compress or gzip. + * can optionally synchronize with external backups, for those large + timesharing computers where you want to do full dumps when the system + is down in single-user mode (since BSD dump is not reliable on active + filesystems): Amanda will still do your daily dumps. + * lots of other options; Amanda is very configurable. + + +WHAT ARE THE SYSTEM REQUIREMENTS FOR AMANDA? +-------------------------------------------- + +Amanda requires a host that is mostly idle during the time backups are +done, with a large capacity tape drive (e.g. an EXABYTE, DAT or DLT tape). +This becomes the "tape server host". All the computers you are going to dump +are the "backup client hosts". The server host can also be a client host. + +Amanda works best with one or more large "holding disk" partitions on the +server host available to it for buffering dumps before writing to tape. +The holding disk allows Amanda to run backups in parallel to the disk, only +writing them to tape when the backup is finished. Note that the holding +disk is not required: without it Amanda will run backups sequentially to +the tape drive. Running it this way kills the great performance, but still +allows you to take advantage of Amanda's other features. + +As a rule of thumb, for best performance the holding disk should be larger +than the dump output from your largest disk partitions. For example, if +you are backing up some full gigabyte disks that compress down to 500 MB, +then you'll want 500 MB on your holding disk. On the other hand, if those +gigabyte drives are partitioned into 500 MB filesystems, they'll probably +compress down to 250 MB and you'll only need that much on your holding +disk. Amanda will perform better with larger holding disks. + +Actually, Amanda will still work if you have full dumps that are larger +than the holding disk: Amanda will send those dumps directly to tape one at +a time. If you have many such dumps you will be limited by the dump speed +of those machines. + +Amanda does not yet support single backup images larger than a tape. + + +WHAT SYSTEMS DOES AMANDA RUN ON? +-------------------------------- + +Amanda should run on any modern Unix system that supports dump or GNU +tar, has sockets and inetd, and either system V shared memory, or BSD +mmap implemented. + +In particular, Amanda 2.4.0 has been compiled, and the client side tested +on the following systems: + AIX 3.2 and 4.1 + BSDI BSD/OS 2.1 and 3.1 + DEC OSF/1 3.2 and 4.0 + FreeBSD 2.2.5 + IRIX 5.2 and 6.3 + Linux/GNU on x86, alpha and sparc + NetBSD 1.0 + Nextstep 3 (*) + SunOS 4.1.x (x >= 1) and 5.[56] + Ultrix 4.2 + HP-UX 9.x and 10.x (x >= 01) + +The Amanda 2.4.0 server side is known to run on all of the other +machines except on those marked with an asterisk. + +If you know of any system that is not listed here on which amanda +builds successfully, either client&server or client-only, please +report to amanda-hackers@amanda.org. + + +WHERE DO I GET AMANDA? +---------------------- + +There are several versions of Amanda. The latest version at the time +of this writing is available at: + + ftp://ftp.amanda.org/pub/amanda + + +HOW DO I GET AMANDA UP AND RUNNING? +----------------------------------- + +Read the file docs/INSTALL. There are a variety of steps, from compiling +Amanda to installing it on the tape server host and the client machines. + docs/INSTALL contains general installation instructions. + docs/SYSTEM.NOTES contains system-specific information. + docs/FAQ contains answers to frequently asked questions. + docs/KERBEROS explains installation under Kerberos 4. + docs/TAPE.CHANGERS explains how to customize the changer interface. + docs/WHATS.NEW details new features. + + +WHO DO I TALK TO IF I HAVE A PROBLEM? +------------------------------------- + +Amanda is completely unsupported and made available as-is. However, +you may be able to get useful information in the Amanda mailing lists: + +==> To join a mailing list, DO NOT, EVER, send mail to that list. Send + mail to <listname>-request@amanda.org, or amanda-lists@amanda.org, + with the following line in the body of the message: + subscribe <listname> <your-email-address> + + + amanda-announce + The amanda-announce mailing list is for important announcements + related to the Amanda Network Backup Manager package, including new + versions, contributions, and fixes. NOTE: the amanda-users list is + itself on the amanda-announce distribution, so you only need to + subscribe to one of the two lists, not both. + To subscribe, send a message to amanda-announce-request@amanda.org. + + amanda-users + The amanda-users mailing list is for questions and general discussion + about the Amanda Network Backup Manager. This package and related + files are available via anonymous FTP from ftp.amanda.org in the + pub/amanda directory. NOTE: the amanda-users list is itself on the + amanda-announce distribution, so you only need to subscribe to one of + the two lists, not both. + To subscribe, send a message to amanda-users-request@amanda.org. + + amanda-hackers + The amanda-hackers mailing list is for discussion of the + technical details of the Amanda package, including extensions, + ports, bugs, fixes, and alpha testing of new versions. + To subscribe, send a message to amanda-hackers-request@amanda.org. + + +Share and Enjoy, +The Amanda Development Team diff --git a/sysutils/amanda-dev-client/Makefile b/sysutils/amanda-dev-client/Makefile new file mode 100644 index 00000000000..807a2fdd473 --- /dev/null +++ b/sysutils/amanda-dev-client/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ +# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp +# + +PKGNAME= amanda-client-${VERS} +SVR4_PKGNAME= amacl + +COMMENT= Client part of Amanda, a network backup system + +DEPENDS+= gtar-1.12:../../archivers/gtar +DEPENDS+= amanda-common-${VERS}:../../sysutils/amanda-dev-common + +GNU_CONFIGURE= yes + +.include "../../mk/bsd.prefs.mk" +.include "../../sysutils/amanda-dev-common/Makefile.common" +.include "../../devel/readline/buildlink.mk" + +CONFIGURE_ARGS+= --without-server --without-restore + +# Prevent configure script from finding unnecessary libraries. We'll patch +# the amrecover Makefile to add the readline libraries as it's the only +# program that uses readline. +# +CONFIGURE_ENV+= ac_cv_lib_intl_main=no +CONFIGURE_ENV+= ac_cv_lib_termcap_tgetent=no +CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no +CONFIGURE_ENV+= ac_cv_lib_ncurses_tgetent=no +CONFIGURE_ENV+= ac_cv_lib_readline_readline=no + +.if defined(AMANDA_SMB) +CONFIGURE_ARGS+= --with-smbclient +DEPENDS+= samba>=2.0.0:../../net/samba +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/amanda-dev-client/PLIST b/sysutils/amanda-dev-client/PLIST new file mode 100644 index 00000000000..c73b237ca3a --- /dev/null +++ b/sysutils/amanda-dev-client/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ +lib/libamclient.a +lib/libamclient.la +lib/libamclient-2.4.3b3.so +libexec/amandad +libexec/calcsize +libexec/killpgrp +libexec/patch-system +libexec/rundump +libexec/runtar +libexec/selfcheck +libexec/sendbackup +libexec/sendsize +libexec/versionsuffix +libexec/patch-system +man/man8/amrecover.8 +sbin/amrecover diff --git a/sysutils/amanda-dev-client/distinfo b/sysutils/amanda-dev-client/distinfo new file mode 100644 index 00000000000..0e98e8404e8 --- /dev/null +++ b/sysutils/amanda-dev-client/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +SHA1 (amanda-2.4.3b3.tar.gz) = 7028e5f060ee159d05c35635e79c5fd4701f08ee +Size (amanda-2.4.3b3.tar.gz) = 1167303 bytes +SHA1 (patch-aa) = 46fca5506e3f7f38f1f8c33db30cf53a5d1fcbb0 +SHA1 (patch-ab) = 9140b0c980927a1e4f8cc23985391ed3c6c76785 +SHA1 (patch-ac) = 7c94b9c5adbdf7266b76e2599e297dbb4be271aa +SHA1 (patch-ad) = 75d2adc88cb2af6477762673baf0f62048dda4c8 +SHA1 (patch-ae) = d50d43cc2b557af326a29ed9ba918c10458b3545 diff --git a/sysutils/amanda-dev-client/patches/patch-aa b/sysutils/amanda-dev-client/patches/patch-aa new file mode 100644 index 00000000000..8871e3a8788 --- /dev/null +++ b/sysutils/amanda-dev-client/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- configure.orig Fri Mar 8 20:28:05 2002 ++++ configure Tue Apr 30 11:39:11 2002 +@@ -9893,8 +9893,10 @@ + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + ++if false ; then + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' ++fi + + # Prevent multiple expansion + diff --git a/sysutils/amanda-dev-client/patches/patch-ab b/sysutils/amanda-dev-client/patches/patch-ab new file mode 100644 index 00000000000..a74572c5410 --- /dev/null +++ b/sysutils/amanda-dev-client/patches/patch-ab @@ -0,0 +1,99 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- client-src/Makefile.in.orig Fri Mar 8 20:29:40 2002 ++++ client-src/Makefile.in Tue Apr 30 11:44:22 2002 +@@ -180,9 +180,7 @@ + # need to list libamanda twice here, first to override the system library + # routines, and second to pick up any references in the other libraries. + ### +-LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++LDADD = libamclient.$(LIB_EXTENSION) -lamanda + + + SUFFIXES = .sh .pl +@@ -241,73 +239,53 @@ + amandad_SOURCES = amandad.c + amandad_OBJECTS = amandad.$(OBJEXT) + amandad_LDADD = $(LDADD) +-amandad_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++amandad_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + amandad_LDFLAGS = + calcsize_SOURCES = calcsize.c + calcsize_OBJECTS = calcsize.$(OBJEXT) + calcsize_LDADD = $(LDADD) +-calcsize_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++calcsize_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + calcsize_LDFLAGS = + am_getfsent_OBJECTS = getfsent.test.$(OBJEXT) + getfsent_OBJECTS = $(am_getfsent_OBJECTS) + getfsent_LDADD = $(LDADD) +-getfsent_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++getfsent_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + getfsent_LDFLAGS = + killpgrp_SOURCES = killpgrp.c + killpgrp_OBJECTS = killpgrp.$(OBJEXT) + killpgrp_LDADD = $(LDADD) +-killpgrp_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++killpgrp_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + killpgrp_LDFLAGS = + rundump_SOURCES = rundump.c + rundump_OBJECTS = rundump.$(OBJEXT) + rundump_LDADD = $(LDADD) +-rundump_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++rundump_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + rundump_LDFLAGS = + runtar_SOURCES = runtar.c + runtar_OBJECTS = runtar.$(OBJEXT) + runtar_LDADD = $(LDADD) +-runtar_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++runtar_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + runtar_LDFLAGS = + selfcheck_SOURCES = selfcheck.c + selfcheck_OBJECTS = selfcheck.$(OBJEXT) + selfcheck_LDADD = $(LDADD) +-selfcheck_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++selfcheck_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + selfcheck_LDFLAGS = + am_sendbackup_OBJECTS = sendbackup.$(OBJEXT) sendbackup-dump.$(OBJEXT) \ + sendbackup-gnutar.$(OBJEXT) + sendbackup_OBJECTS = $(am_sendbackup_OBJECTS) + sendbackup_LDADD = $(LDADD) +-sendbackup_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++sendbackup_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + sendbackup_LDFLAGS = + sendsize_SOURCES = sendsize.c + sendsize_OBJECTS = sendsize.$(OBJEXT) + sendsize_LDADD = $(LDADD) +-sendsize_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++sendsize_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + sendsize_LDFLAGS = + versionsuffix_SOURCES = versionsuffix.c + versionsuffix_OBJECTS = versionsuffix.$(OBJEXT) + versionsuffix_LDADD = $(LDADD) +-versionsuffix_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++versionsuffix_DEPENDENCIES = libamclient.$(LIB_EXTENSION) + versionsuffix_LDFLAGS = + SCRIPTS = $(libexec_SCRIPTS) $(sbin_SCRIPTS) + diff --git a/sysutils/amanda-dev-client/patches/patch-ac b/sysutils/amanda-dev-client/patches/patch-ac new file mode 100644 index 00000000000..ca20fb0e796 --- /dev/null +++ b/sysutils/amanda-dev-client/patches/patch-ac @@ -0,0 +1,28 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- Makefile.in.orig Fri Mar 8 20:29:29 2002 ++++ Makefile.in Tue Apr 30 11:46:35 2002 +@@ -163,21 +163,15 @@ + # order is significant, don't change it arbitrarily + SUBDIRS = \ + config \ +- common-src \ + $(CLIENT_SUBDIRS) \ + $(TAPE_SUBDIRS) \ + $(SERVER_SUBDIRS) \ + $(RESTORE_SUBDIRS) \ + $(RECOVER_SUBDIRS) \ +- $(PLOT_SUBDIRS) \ +- man docs example ++ man + + +-pkgdata_DATA = \ +- COPYRIGHT \ +- COPYRIGHT-APACHE \ +- COPYRIGHT-REGEX +- ++pkgdata_DATA = + + EXTRA_DIST = $(SNAPSHOT_STAMP) \ + $(pkgdata_DATA) \ diff --git a/sysutils/amanda-dev-client/patches/patch-ad b/sysutils/amanda-dev-client/patches/patch-ad new file mode 100644 index 00000000000..82d621d6b7b --- /dev/null +++ b/sysutils/amanda-dev-client/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- man/Makefile.in.orig Fri Mar 8 20:29:52 2002 ++++ man/Makefile.in Tue Apr 30 11:48:42 2002 +@@ -180,9 +180,7 @@ + # not autoconf-generated: + EXTRA_DIST = amplot.8 amrestore.8 amtape.8 amdd.8 ammt.8 + +-man_MANS = $(AMPLOT_MAN_PAGES) \ +- $(COMMON_MAN_PAGES) \ +- $(SERVER_MAN_PAGES) \ ++man_MANS = $(SERVER_MAN_PAGES) \ + $(RECOVER_MAN_PAGES) \ + $(RESTORE_MAN_PAGES) + diff --git a/sysutils/amanda-dev-client/patches/patch-ae b/sysutils/amanda-dev-client/patches/patch-ae new file mode 100644 index 00000000000..8e4ebba83f4 --- /dev/null +++ b/sysutils/amanda-dev-client/patches/patch-ae @@ -0,0 +1,28 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- recover-src/Makefile.in.orig Fri Mar 8 20:29:49 2002 ++++ recover-src/Makefile.in Tue Apr 30 11:51:14 2002 +@@ -165,10 +165,9 @@ + # need to list libamanda twice here, first to override the system library + # routines, and second to pick up any references in the other libraries. + ### +-LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ +- @LEXLIB@ \ ++LDADD = @LEXLIB@ \ + ../client-src/libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++ -lamanda + + + amrecover_SOURCES = amrecover.c \ +@@ -192,9 +191,7 @@ + uparse.$(OBJEXT) uscan.$(OBJEXT) + amrecover_OBJECTS = $(am_amrecover_OBJECTS) + amrecover_LDADD = $(LDADD) +-amrecover_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- ../client-src/libamclient.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++amrecover_DEPENDENCIES = ../client-src/libamclient.$(LIB_EXTENSION) + amrecover_LDFLAGS = + + DEFS = @DEFS@ |