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-common | |
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-common')
-rw-r--r-- | sysutils/amanda-dev-common/DESCR | 184 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/Makefile | 38 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/Makefile.common | 36 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/PLIST | 16 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/distinfo | 10 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/patches/patch-aa | 20 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/patches/patch-ab | 36 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/patches/patch-ac | 27 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/patches/patch-ad | 22 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/patches/patch-ba | 13 | ||||
-rw-r--r-- | sysutils/amanda-dev-common/patches/patch-bb | 13 |
11 files changed, 415 insertions, 0 deletions
diff --git a/sysutils/amanda-dev-common/DESCR b/sysutils/amanda-dev-common/DESCR new file mode 100644 index 00000000000..5434b9d711b --- /dev/null +++ b/sysutils/amanda-dev-common/DESCR @@ -0,0 +1,184 @@ +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.1p1 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 + GNU/Linux on x86, alpha, sparc, arm and powerpc + NetBSD 1.0 + Nextstep 3 (*) + OpenBSD 2.5 x86, sparc, etc (ports available) + SunOS 4.1.x (x >= 1) and 5.[567] + Ultrix 4.2 + HP-UX 9.x and 10.x (x >= 01) + +The Amanda 2.4.1p1 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-common/Makefile b/sysutils/amanda-dev-common/Makefile new file mode 100644 index 00000000000..bb15460fa18 --- /dev/null +++ b/sysutils/amanda-dev-common/Makefile @@ -0,0 +1,38 @@ +# $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-common-${VERS} +SVR4_PKGNAME= amaco + +COMMENT= Libraries and binaries used by both the client and server parts of amanda + +USE_BUILDLINK_ONLY= YES + +.include "../../mk/bsd.prefs.mk" +.include "../../sysutils/amanda-dev-common/Makefile.common" + +.if ${OPSYS} == "NetBSD" +CPPFLAGS= # empty +.elif ${OPSYS} == "SunOS" +CPPFLAGS+= -D_LARGEFILE64_SOURCE +.endif + +CONFIGURE_ARGS+= --without-server --without-restore --without-client + +# Prevent configure script from finding unnecessary libraries. +# +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 + +PKG_GROUPS= ${AMANDA_GROUP} +PKG_USERS= ${AMANDA_USER}:${AMANDA_GROUP}::Amanda\\ user::${SH} + +OWN_DIRS_PERMS= ${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0700 +OWN_DIRS_PERMS+= ${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0700 + +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/amanda-dev-common/Makefile.common b/sysutils/amanda-dev-common/Makefile.common new file mode 100644 index 00000000000..b6147f2470e --- /dev/null +++ b/sysutils/amanda-dev-common/Makefile.common @@ -0,0 +1,36 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ +# +# common make file fragment shared by all amanda-* pkgs. +# + +VERS= 2.4.3b3 +DISTNAME?= amanda-${VERS} +CATEGORIES= sysutils +MASTER_SITES?= http://download.sourceforge.net/amanda/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.amanda.org/ + +.if ${OPSYS} == "NetBSD" +AMANDA_GROUP?= operator +.elif ${OPSYS} == "SunOS" +AMANDA_GROUP?= sysadmin +.endif + +AMANDA_USER?= backup +AMANDA_VAR?= /var/amanda + +BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB AMANDA_VAR + +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-user=${AMANDA_USER} +CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} +CONFIGURE_ARGS+= --with-owner=root +CONFIGURE_ARGS+= --with-mmap +CONFIGURE_ARGS+= --with-amandahosts +CONFIGURE_ARGS+= --localstatedir=${AMANDA_VAR} +CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists +CONFIGURE_ARGS+= --with-dump-honor-nodump diff --git a/sysutils/amanda-dev-common/PLIST b/sysutils/amanda-dev-common/PLIST new file mode 100644 index 00000000000..1f166e3f102 --- /dev/null +++ b/sysutils/amanda-dev-common/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ +lib/libamanda.a +lib/libamanda.la +lib/libamtape.a +lib/libamtape.la +man/man8/amanda.8 +man/man8/amdd.8 +man/man8/ammt.8 +share/doc/amanda/COPYRIGHT +share/doc/amanda/COPYRIGHT-APACHE +share/doc/amanda/COPYRIGHT-REGEX +sbin/amdd +sbin/ammt + +@dirrm share/doc/amanda + diff --git a/sysutils/amanda-dev-common/distinfo b/sysutils/amanda-dev-common/distinfo new file mode 100644 index 00000000000..3a72d86a68a --- /dev/null +++ b/sysutils/amanda-dev-common/distinfo @@ -0,0 +1,10 @@ +$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) = a173c2ff9ae91d4a347472deaeab440f5d1498d7 +SHA1 (patch-ab) = 8ad679e9df686bac180526daa4ed4b7a37410d58 +SHA1 (patch-ac) = a400a6308cd2e96bc30c8a6493cf7b90b442a35d +SHA1 (patch-ad) = 510e650c9e9976323b1d27a7895cee6281b89dcd +SHA1 (patch-ba) = 27a72a5585e3e6c2f191f337261ab25a2bcaa3a4 +SHA1 (patch-bb) = c8c91b848e669f2ccd3a753cfa7aba64e47d2166 diff --git a/sysutils/amanda-dev-common/patches/patch-aa b/sysutils/amanda-dev-common/patches/patch-aa new file mode 100644 index 00000000000..56184be25a0 --- /dev/null +++ b/sysutils/amanda-dev-common/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,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:14:37 2002 +@@ -304,12 +304,10 @@ + 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_LDADD = ../common-src/libamanda.$(LIB_EXTENSION) ++versionsuffix_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) + versionsuffix_LDFLAGS = +-SCRIPTS = $(libexec_SCRIPTS) $(sbin_SCRIPTS) ++SCRIPTS = $(libexec_S:RIPTS) $(sbin_SCRIPTS) + + + DEFS = @DEFS@ diff --git a/sysutils/amanda-dev-common/patches/patch-ab b/sysutils/amanda-dev-common/patches/patch-ab new file mode 100644 index 00000000000..df3a6428adb --- /dev/null +++ b/sysutils/amanda-dev-common/patches/patch-ab @@ -0,0 +1,36 @@ +$NetBSD: patch-ab,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 13:23:44 2002 +@@ -33,7 +33,7 @@ + mandir = @mandir@ + includedir = @includedir@ + oldincludedir = /usr/include +-pkgdatadir = $(datadir)/@PACKAGE@ ++pkgdatadir = $(datadir)/doc/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + top_builddir = . +@@ -155,11 +155,11 @@ + ACINCLUDE_M4_DEPS = $(ACINCLUDE_M4I) $(LIBTOOL_M4I) + + @WANT_CLIENT_TRUE@CLIENT_SUBDIRS = client-src +-@WANT_TAPE_TRUE@TAPE_SUBDIRS = tape-src ++TAPE_SUBDIRS = tape-src + @WANT_SERVER_TRUE@SERVER_SUBDIRS = server-src changer-src + @WANT_RESTORE_TRUE@RESTORE_SUBDIRS = restore-src + @WANT_RECOVER_TRUE@RECOVER_SUBDIRS = recover-src +-@WANT_AMPLOT_TRUE@PLOT_SUBDIRS = amplot ++#PLOT_SUBDIRS = amplot + # order is significant, don't change it arbitrarily + SUBDIRS = \ + config \ +@@ -170,7 +170,7 @@ + $(RESTORE_SUBDIRS) \ + $(RECOVER_SUBDIRS) \ + $(PLOT_SUBDIRS) \ +- man docs example ++ man + + + pkgdata_DATA = \ diff --git a/sysutils/amanda-dev-common/patches/patch-ac b/sysutils/amanda-dev-common/patches/patch-ac new file mode 100644 index 00000000000..37dca0baa97 --- /dev/null +++ b/sysutils/amanda-dev-common/patches/patch-ac @@ -0,0 +1,27 @@ +$NetBSD: patch-ac,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 15:19:08 2002 +@@ -150,20 +150,18 @@ + + transform = s,x,x,; + +-@WANT_AMPLOT_TRUE@AMPLOT_MAN_PAGES = amplot.8 ++#AMPLOT_MAN_PAGES = amplot.8 + +-COMMON_MAN_PAGES = amanda.8 ++COMMON_MAN_PAGES = amanda.8 amdd.8 ammt.8 + + @WANT_SERVER_TRUE@SERVER_MAN_PAGES = amadmin.8 \ + @WANT_SERVER_TRUE@ amcheck.8 \ + @WANT_SERVER_TRUE@ amcheckdb.8 \ + @WANT_SERVER_TRUE@ amcleanup.8 \ +-@WANT_SERVER_TRUE@ amdd.8 \ + @WANT_SERVER_TRUE@ amdump.8 \ + @WANT_SERVER_TRUE@ amflush.8 \ + @WANT_SERVER_TRUE@ amgetconf.8 \ + @WANT_SERVER_TRUE@ amlabel.8 \ +-@WANT_SERVER_TRUE@ ammt.8 \ + @WANT_SERVER_TRUE@ amoverview.8 \ + @WANT_SERVER_TRUE@ amreport.8 \ + @WANT_SERVER_TRUE@ amrmtape.8 \ diff --git a/sysutils/amanda-dev-common/patches/patch-ad b/sysutils/amanda-dev-common/patches/patch-ad new file mode 100644 index 00000000000..c670d6a4196 --- /dev/null +++ b/sysutils/amanda-dev-common/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +Use the correct name for the statvfs struct. + +--- common-src/statfs.c.orig Sun May 23 11:11:18 1999 ++++ common-src/statfs.c Thu Jan 11 12:53:12 2001 +@@ -55,7 +55,15 @@ + */ + # include <sys/statvfs.h> + # define STATFS_TYP "SVR4 (Irix-5+, Solaris-2, Linux glibc 2.1)" ++#if defined(__sun__) && defined(__svr4__) ++#if defined(_LARGEFILE64_SOURCE) ++# define STATFS_STRUCT statvfs64_t ++#else ++# define STATFS_STRUCT statvfs_t ++#endif /* largefile source */ ++#else + # define STATFS_STRUCT struct statvfs ++#endif /* !Solaris */ + # define STATFS_TOTAL(buf) (buf).f_blocks + # define STATFS_AVAIL(buf) (buf).f_bavail + # define STATFS_FREE(buf) (buf).f_bfree diff --git a/sysutils/amanda-dev-common/patches/patch-ba b/sysutils/amanda-dev-common/patches/patch-ba new file mode 100644 index 00000000000..b3f517608e9 --- /dev/null +++ b/sysutils/amanda-dev-common/patches/patch-ba @@ -0,0 +1,13 @@ +$NetBSD: patch-ba,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- common-src/token.h.orig Sun Feb 10 13:49:54 2002 ++++ common-src/token.h Tue Apr 30 11:18:43 2002 +@@ -43,7 +43,7 @@ + __attribute__ ((format (printf, 2, 3))); + extern char *quote P((char *sep, char *str)); + extern char *rxquote P((char *str)); +-extern char *shquote P((char *str)); ++extern char *am_shquote P((char *str)); + extern int table_lookup P((table_t *table, char *str)); + extern char *table_lookup_r P((table_t *table, int val)); + diff --git a/sysutils/amanda-dev-common/patches/patch-bb b/sysutils/amanda-dev-common/patches/patch-bb new file mode 100644 index 00000000000..cf9414b19ee --- /dev/null +++ b/sysutils/amanda-dev-common/patches/patch-bb @@ -0,0 +1,13 @@ +$NetBSD: patch-bb,v 1.1.1.1 2002/05/02 13:28:15 bouyer Exp $ + +--- common-src/token.c.orig Thu Mar 15 20:30:23 2001 ++++ common-src/token.c Thu Mar 15 20:30:56 2001 +@@ -295,7 +295,7 @@ + } + + /* Quote a string so that it can be safely passed to a shell */ +-char *shquote(str) ++char *am_shquote(str) + char *str; /* the string to quote */ + { + char *pi, *po; |