summaryrefslogtreecommitdiff
path: root/misc/amanda-common
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1999-02-23 17:03:41 +0000
committerbouyer <bouyer@pkgsrc.org>1999-02-23 17:03:41 +0000
commit42760048757fa43a8fcb1c873ccd3cd7d5684f76 (patch)
treec671f5d5c0561c1e97d3a8caec875a6d2172d468 /misc/amanda-common
parent12cb5d884078fdb644aa49fa260112bdcccd1063 (diff)
downloadpkgsrc-42760048757fa43a8fcb1c873ccd3cd7d5684f76.tar.gz
An amanda 2.4.1p1 package, split into common, server and client parts.
Diffstat (limited to 'misc/amanda-common')
-rw-r--r--misc/amanda-common/Makefile33
-rw-r--r--misc/amanda-common/files/md53
-rw-r--r--misc/amanda-common/patches/patch-aa20
-rw-r--r--misc/amanda-common/patches/patch-ab11
-rw-r--r--misc/amanda-common/patches/patch-ac16
-rw-r--r--misc/amanda-common/pkg/COMMENT1
-rw-r--r--misc/amanda-common/pkg/DESCR67
-rw-r--r--misc/amanda-common/pkg/PLIST7
8 files changed, 158 insertions, 0 deletions
diff --git a/misc/amanda-common/Makefile b/misc/amanda-common/Makefile
new file mode 100644
index 00000000000..01cc1ef142a
--- /dev/null
+++ b/misc/amanda-common/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/23 17:03:41 bouyer Exp $
+# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
+#
+
+DISTNAME= amanda-2.4.1p1
+PKGNAME= amanda-common-2.4.1p1
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.amanda.org/
+
+DEPENDS+= addnerd-1.6:../../sysutils/addnerd
+
+AMANDA_USER?= backup
+AMANDA_GROUP= operator
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \
+ --with-group=${AMANDA_GROUP} \
+ --with-mmap --with-amandahosts \
+ --with-includes=${PREFIX}/include \
+ --with-libraries=${PREFIX}/lib \
+ --with-dump-honor-nodump \
+ --without-server --without-restore --without-client
+
+CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+pre-install:
+ @${SETENV} ${MAKE_ENV} addnerd -g ${AMANDA_GROUP} ${AMANDA_USER}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/amanda-common/files/md5 b/misc/amanda-common/files/md5
new file mode 100644
index 00000000000..2164a59dc88
--- /dev/null
+++ b/misc/amanda-common/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/23 17:03:41 bouyer Exp $
+
+MD5 (amanda-2.4.1p1.tar.gz) = 13f34dc97c35f85f88e54ca25b2009ed
diff --git a/misc/amanda-common/patches/patch-aa b/misc/amanda-common/patches/patch-aa
new file mode 100644
index 00000000000..51d4535b00d
--- /dev/null
+++ b/misc/amanda-common/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/23 17:03:41 bouyer Exp $
+
+--- configure.orig Sat Jul 18 10:34:33 1998
++++ configure Sat Jul 18 10:35:03 1998
+@@ -4204,6 +4204,7 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
++if false; then
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+@@ -4249,6 +4250,7 @@
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
+ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
++fi
+
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
diff --git a/misc/amanda-common/patches/patch-ab b/misc/amanda-common/patches/patch-ab
new file mode 100644
index 00000000000..3582417d897
--- /dev/null
+++ b/misc/amanda-common/patches/patch-ab
@@ -0,0 +1,11 @@
+--- tape-src/Makefile.in.old Tue Feb 23 11:45:50 1999
++++ tape-src/Makefile.in Tue Feb 23 11:45:21 1999
+@@ -162,7 +162,7 @@
+
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(AMANDA_CFLAGS)
+
+-lib_LTLIBRARIES = @BUILD_TAPE_LTLIB@
++lib_LTLIBRARIES = libamtape.la
+ EXTRA_LTLIBRARIES = libamtape.la
+
+ noinst_LIBRARIES = @BUILD_TAPE_LIB@
diff --git a/misc/amanda-common/patches/patch-ac b/misc/amanda-common/patches/patch-ac
new file mode 100644
index 00000000000..7b025a39211
--- /dev/null
+++ b/misc/amanda-common/patches/patch-ac
@@ -0,0 +1,16 @@
+--- man/Makefile.in.old Tue Feb 23 10:24:35 1999
++++ man/Makefile.in Tue Feb 23 10:25:34 1999
+@@ -158,12 +158,7 @@
+
+ transform = s,x,x,;
+
+-man_MANS = amadmin.8 amanda.8 amcheck.8 \
+- amcheckdb.8 amcleanup.8 amdump.8 \
+- amflush.8 amlabel.8 amoverview.8 \
+- amplot.8 amrecover.8 amrestore.8 \
+- amrmtape.8 amtape.8 amtoc.8 \
+- amverify.8 amstatus.8 amreport.8
++man_MANS = amanda.8
+
+ EXTRA_DIST = amplot.8 amrestore.8 amtape.8
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
diff --git a/misc/amanda-common/pkg/COMMENT b/misc/amanda-common/pkg/COMMENT
new file mode 100644
index 00000000000..87b97277da1
--- /dev/null
+++ b/misc/amanda-common/pkg/COMMENT
@@ -0,0 +1 @@
+The Advanced Maryland Automatic Network Disk Archiver
diff --git a/misc/amanda-common/pkg/DESCR b/misc/amanda-common/pkg/DESCR
new file mode 100644
index 00000000000..a605558ea0a
--- /dev/null
+++ b/misc/amanda-common/pkg/DESCR
@@ -0,0 +1,67 @@
+This is an alpha-test 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. This release
+is currently in daily use at the University of Maryland at College Park
+Computer Science Department, backing up all the disks on all the
+workstations in the department: currently over 70 gigabytes of data across
+more than 400 filesystems on more than 146 workstations and servers, using
+a single 5 Gigabyte Exabyte EXB-8500. Here are some features of Amanda:
+
+ * written in C, freely distributable.
+ * built on top of standard backup software: BSD Unix dump/restore, and
+ later 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 to operators.
+ * 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 over net, with either compress or gzip.
+ * can optionally syncronize 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.
+
+Amanda requires a host that is mostly idle at night, with a large capacity
+tape drive (e.g. an EXABYTE or DAT 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" partition 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. We use 800 MB
+for our holding disk.
+
+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.
diff --git a/misc/amanda-common/pkg/PLIST b/misc/amanda-common/pkg/PLIST
new file mode 100644
index 00000000000..aebca5c4a13
--- /dev/null
+++ b/misc/amanda-common/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/23 17:03:41 bouyer Exp $
+lib/libamanda.a
+lib/libamanda-2.4.1p1.so.0.0
+lib/libamtape.a
+lib/libamtape-2.4.1p1.so.0.0
+libexec/versionsuffix
+man/man8/amanda.8