From a9f98883438d8ae0d6d22262a91824979bf490e9 Mon Sep 17 00:00:00 2001 From: mjl Date: Fri, 12 Nov 2004 12:13:44 +0000 Subject: Update amanda to 2.4.4p4 Bug fix release and minor improvements: new chg-iomega changer script. amanda will not use a tape if it's label is not in the tapelist file. amflush.c: Don't start a driver if nothing to flush. amadmin.c: Call check_dumpuser() as soon as posible. amadmin.c: Don't core dump if DUMPCYLE is too big. dumper.c: Parse warning message. --- sysutils/amanda-server/DESCR | 183 +------------------------------- sysutils/amanda-server/Makefile | 4 +- sysutils/amanda-server/PLIST | 3 +- sysutils/amanda-server/distinfo | 24 ++--- sysutils/amanda-server/patches/patch-ab | 16 +-- sysutils/amanda-server/patches/patch-ac | 16 +-- sysutils/amanda-server/patches/patch-ad | 14 +-- sysutils/amanda-server/patches/patch-af | 81 +++++++------- sysutils/amanda-server/patches/patch-ag | 19 ++-- sysutils/amanda-server/patches/patch-ah | 68 +++++------- sysutils/amanda-server/patches/patch-ai | 37 ++++--- sysutils/amanda-server/patches/patch-aj | 50 +++++---- sysutils/amanda-server/patches/patch-ak | 10 +- 13 files changed, 163 insertions(+), 362 deletions(-) (limited to 'sysutils/amanda-server') diff --git a/sysutils/amanda-server/DESCR b/sysutils/amanda-server/DESCR index 97d0d402e6b..5ead5bbac60 100644 --- a/sysutils/amanda-server/DESCR +++ b/sysutils/amanda-server/DESCR @@ -1,181 +1,4 @@ -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 -request@amanda.org, or amanda-lists@amanda.org, - with the following line in the body of the message: - subscribe - - - 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 +Network Disk Archiver. Amanda is a backup system designed to +archive many computers on a network to a single large-capacity +tape drive. diff --git a/sysutils/amanda-server/Makefile b/sysutils/amanda-server/Makefile index 21306640822..1dc2055c368 100644 --- a/sysutils/amanda-server/Makefile +++ b/sysutils/amanda-server/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.29 2004/10/03 00:18:14 tv Exp $ +# $NetBSD: Makefile,v 1.30 2004/11/12 12:13:45 mjl Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # PKGNAME= amanda-server-${VERS} -PKGREVISION= 1 +# PKGREVISION= 1 SVR4_PKGNAME= amase COMMENT= Server part of Amanda, a network backup system diff --git a/sysutils/amanda-server/PLIST b/sysutils/amanda-server/PLIST index 3cb7285fccd..dbd1742d958 100644 --- a/sysutils/amanda-server/PLIST +++ b/sysutils/amanda-server/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:53 jlam Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/11/12 12:13:45 mjl Exp $ lib/libamserver.la libexec/amcleanupdisk libexec/amidxtaped @@ -9,6 +9,7 @@ libexec/amtrmlog libexec/chg-chio libexec/chg-chs libexec/chg-disk +libexec/chg-iomega libexec/chg-juke libexec/chg-manual libexec/chg-mcutil diff --git a/sysutils/amanda-server/distinfo b/sysutils/amanda-server/distinfo index 35fa0693f70..a4b56ab97c8 100644 --- a/sysutils/amanda-server/distinfo +++ b/sysutils/amanda-server/distinfo @@ -1,15 +1,15 @@ -$NetBSD: distinfo,v 1.6 2004/10/03 09:19:16 bouyer Exp $ +$NetBSD: distinfo,v 1.7 2004/11/12 12:13:45 mjl Exp $ -SHA1 (amanda-2.4.4p2.tar.gz) = c14510260941a3915f4068e6b7e3f91698ab099e -Size (amanda-2.4.4p2.tar.gz) = 1263075 bytes +SHA1 (amanda-2.4.4p4.tar.gz) = e44b40ea0f8e51336716ab455b27c69f4616d7f6 +Size (amanda-2.4.4p4.tar.gz) = 1422735 bytes SHA1 (patch-aa) = af41269882c8dfdb45bc177a45aa86122443d8df -SHA1 (patch-ab) = 19121fbc6ccc05b6e07c87cdecf0c5e1423b05a5 -SHA1 (patch-ac) = 33283f04b90d8eb7943753a67c9fa62874bedca8 -SHA1 (patch-ad) = dfd33fa33eeb174d63d8f16d5203032c61a0c6d1 +SHA1 (patch-ab) = 87e628b0fbcd4174cb63f87ed8eb10a6cc87af46 +SHA1 (patch-ac) = 047647205258910f5b0ff7c04854816508e2d904 +SHA1 (patch-ad) = 374df6ccf94d6533166db6eb2468d555f4f52f39 SHA1 (patch-ae) = a646c7fd01f04c0a569564ba14e0cae3ea76792d -SHA1 (patch-af) = 31ed247437c974e1c46d1ee45c9e931ec751df76 -SHA1 (patch-ag) = 3b7458cea6c11ff122f32d9205296bf3b82eecd3 -SHA1 (patch-ah) = 7b9d5c44a0f56d6592743c5a1442cfbd5da647a9 -SHA1 (patch-ai) = 1491d8cec537f04f31440f0c8933deec0f6c21cd -SHA1 (patch-aj) = a8b27da285097eb32a60895df2479a77b3dcab05 -SHA1 (patch-ak) = 203723bd242924a1fc10366eae3b1aac86d6886c +SHA1 (patch-af) = 950d161f35ffe121821ce7f10f2692dba2519469 +SHA1 (patch-ag) = 2256353832fef411fb2e0dab56a8d3aaa699da81 +SHA1 (patch-ah) = a0f156ac45498a73af66af62113f8e19bbccad01 +SHA1 (patch-ai) = 3a21e49fa8b261413d4bc8fb97e3ee0664b00292 +SHA1 (patch-aj) = f7c33a543a015e282ba9836ffa2c5c501a2bddcb +SHA1 (patch-ak) = 9555f098dc705a7af9004e6fd3d4d259705a9935 diff --git a/sysutils/amanda-server/patches/patch-ab b/sysutils/amanda-server/patches/patch-ab index 534621f3cda..e358190961f 100644 --- a/sysutils/amanda-server/patches/patch-ab +++ b/sysutils/amanda-server/patches/patch-ab @@ -1,17 +1,17 @@ -$NetBSD: patch-ab,v 1.6 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ab,v 1.7 2004/11/12 12:13:45 mjl Exp $ ---- Makefile.in.orig 2004-01-08 10:21:29.000000000 -0800 -+++ Makefile.in 2004-02-23 16:03:55.000000000 -0800 -@@ -33,7 +33,7 @@ - mandir = @mandir@ - includedir = @includedir@ - oldincludedir = /usr/include +--- Makefile.in.orig 2004-10-22 15:12:38.000000000 +0200 ++++ Makefile.in 2004-11-08 00:53:24.000000000 +0100 +@@ -17,7 +17,7 @@ + srcdir = @srcdir@ + top_srcdir = @top_srcdir@ + VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ +pkgdatadir = $(datadir)/doc/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . -@@ -506,7 +506,7 @@ +@@ -676,7 +676,7 @@ uninstall: uninstall-recursive install-am: all-am diff --git a/sysutils/amanda-server/patches/patch-ac b/sysutils/amanda-server/patches/patch-ac index 079275711ce..0307a0a96d7 100644 --- a/sysutils/amanda-server/patches/patch-ac +++ b/sysutils/amanda-server/patches/patch-ac @@ -1,17 +1,17 @@ -$NetBSD: patch-ac,v 1.6 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ac,v 1.7 2004/11/12 12:13:45 mjl Exp $ ---- example/Makefile.in.orig 2004-01-08 10:23:49.000000000 -0800 -+++ example/Makefile.in 2004-02-23 07:54:24.000000000 -0800 -@@ -35,7 +35,7 @@ - mandir = @mandir@ - includedir = @includedir@ - oldincludedir = /usr/include +--- example/Makefile.in.orig 2004-10-22 15:12:40.000000000 +0200 ++++ example/Makefile.in 2004-11-08 00:55:34.000000000 +0100 +@@ -19,7 +19,7 @@ + srcdir = @srcdir@ + top_srcdir = @top_srcdir@ + VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ +pkgdatadir = $(datadir)/examples/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. -@@ -278,7 +278,16 @@ +@@ -384,7 +384,16 @@ info-am: diff --git a/sysutils/amanda-server/patches/patch-ad b/sysutils/amanda-server/patches/patch-ad index 01f5a076c26..e2f8541f2f7 100644 --- a/sysutils/amanda-server/patches/patch-ad +++ b/sysutils/amanda-server/patches/patch-ad @@ -1,11 +1,11 @@ -$NetBSD: patch-ad,v 1.7 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ad,v 1.8 2004/11/12 12:13:45 mjl Exp $ ---- docs/Makefile.in.orig 2004-01-08 10:23:48.000000000 -0800 -+++ docs/Makefile.in 2004-02-23 07:56:48.000000000 -0800 -@@ -33,7 +33,7 @@ - mandir = @mandir@ - includedir = @includedir@ - oldincludedir = /usr/include +--- docs/Makefile.in.orig 2004-10-22 15:12:40.000000000 +0200 ++++ docs/Makefile.in 2004-11-08 00:57:02.000000000 +0100 +@@ -17,7 +17,7 @@ + srcdir = @srcdir@ + top_srcdir = @top_srcdir@ + VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ +pkgdatadir = $(datadir)/doc/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ diff --git a/sysutils/amanda-server/patches/patch-af b/sysutils/amanda-server/patches/patch-af index bf08590ec21..ab34db004f9 100644 --- a/sysutils/amanda-server/patches/patch-af +++ b/sysutils/amanda-server/patches/patch-af @@ -1,30 +1,8 @@ -$NetBSD: patch-af,v 1.5 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-af,v 1.6 2004/11/12 12:13:45 mjl Exp $ ---- tape-src/Makefile.in.orig 2004-01-08 19:22:46.000000000 +0100 -+++ tape-src/Makefile.in 2004-05-12 15:41:15.000000000 +0200 -@@ -178,9 +178,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) \ -- libamtape.$(LIB_EXTENSION) \ -- ../common-src/libamanda.$(LIB_EXTENSION) -+LDADD = libamtape.$(LIB_EXTENSION) -lamanda - - - -@@ -202,9 +200,7 @@ - - - amtapeio_SOURCES = amtapeio.test.c --amtapeio_LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ -- libamtape.$(LIB_EXTENSION) \ -- ../common-src/libamanda.$(LIB_EXTENSION) -+amtapeio_LDADD = libamtape.$(LIB_EXTENSION) -lamanda - - subdir = tape-src - mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -@@ -223,29 +219,21 @@ +--- tape-src/Makefile.in.orig 2004-10-22 15:12:42.000000000 +0200 ++++ tape-src/Makefile.in 2004-11-08 01:01:43.000000000 +0100 +@@ -67,26 +67,18 @@ amdd_SOURCES = amdd.c amdd_OBJECTS = amdd.$(OBJEXT) amdd_LDADD = $(LDADD) @@ -32,42 +10,61 @@ $NetBSD: patch-af,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amdd_DEPENDENCIES = libamtape.$(LIB_EXTENSION) -lamanda - amdd_LDFLAGS = ammt_SOURCES = ammt.c ammt_OBJECTS = ammt.$(OBJEXT) ammt_LDADD = $(LDADD) -ammt_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ - libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) -+ammt_DEPENDENCIES = libamtape.$(LIB_EXTENSION) - ammt_LDFLAGS = ++ammt_DEPENDENCIES = libamtape.$(LIB_EXTENSION) -lamanda am_amtapeio_OBJECTS = amtapeio.test.$(OBJEXT) amtapeio_OBJECTS = $(am_amtapeio_OBJECTS) -amtapeio_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ - libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) -+amtapeio_DEPENDENCIES = libamtape.$(LIB_EXTENSION) - amtapeio_LDFLAGS = ++amtapeio_DEPENDENCIES = libamtape.$(LIB_EXTENSION) -lamanda am_amtapetype_OBJECTS = tapetype.$(OBJEXT) amtapetype_OBJECTS = $(am_amtapetype_OBJECTS) amtapetype_LDADD = $(LDADD) -amtapetype_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ - libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) -+amtapetype_DEPENDENCIES = libamtape.$(LIB_EXTENSION) - amtapetype_LDFLAGS = ++amtapetype_DEPENDENCIES = libamtape.$(LIB_EXTENSION) -lamanda + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config + depcomp = $(SHELL) $(top_srcdir)/config/depcomp + am__depfiles_maybe = depfiles +@@ -318,9 +310,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) \ +- libamtape.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++LDADD = libamtape.$(LIB_EXTENSION) -lamanda + + + # used for testing only +@@ -335,9 +325,7 @@ + tapeio.h - DEFS = @DEFS@ -@@ -469,7 +457,7 @@ + amtapeio_SOURCES = amtapeio.test.c +-amtapeio_LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ +- libamtape.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++amtapeio_LDADD = libamtape.$(LIB_EXTENSION) -lamanda + + all: all-am + +@@ -569,7 +557,7 @@ done check-am: all-am check: check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) +all-am: Makefile $(PROGRAMS) $(HEADERS) - installdirs: - $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(sbindir) -@@ -519,7 +507,7 @@ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ +@@ -622,7 +610,7 @@ install-data-am: @@ -76,12 +73,12 @@ $NetBSD: patch-af,v 1.5 2004/05/12 18:45:26 bouyer Exp $ @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-exec-hook -@@ -538,7 +526,7 @@ - mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool +@@ -650,7 +638,7 @@ + + ps-am: -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ +uninstall-am: uninstall-info-am \ uninstall-sbinPROGRAMS - .PHONY: GTAGS all all-am check check-am clean clean-generic \ + .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ diff --git a/sysutils/amanda-server/patches/patch-ag b/sysutils/amanda-server/patches/patch-ag index 453f2f9b940..9141e5e46da 100644 --- a/sysutils/amanda-server/patches/patch-ag +++ b/sysutils/amanda-server/patches/patch-ag @@ -1,17 +1,18 @@ -$NetBSD: patch-ag,v 1.4 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ag,v 1.5 2004/11/12 12:13:45 mjl Exp $ ---- common-src/Makefile.in.orig 2004-01-08 10:22:20.000000000 -0800 -+++ common-src/Makefile.in 2004-02-23 14:11:45.000000000 -0800 -@@ -536,25 +536,19 @@ +--- common-src/Makefile.in.orig 2004-10-22 15:12:39.000000000 +0200 ++++ common-src/Makefile.in 2004-11-08 01:05:05.000000000 +0100 +@@ -624,25 +624,18 @@ done check-am: all-am check: check-am -all-am: Makefile $(LTLIBRARIES) $(HEADERS) +all-am: Makefile genversion.h - installdirs: -- $(mkinstalldirs) $(DESTDIR)$(libdir) - +- for dir in "$(DESTDIR)$(libdir)"; do \ +- test -z "$$dir" || $(mkdir_p) "$$dir"; \ +- done ++ install: install-am install-exec: install-exec-am install-data: install-data-am @@ -24,13 +25,13 @@ $NetBSD: patch-ag,v 1.4 2004/05/12 18:45:26 bouyer Exp $ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ -- INSTALL_STRIP_FLAG=-s \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -@@ -587,7 +581,7 @@ +@@ -678,7 +671,7 @@ install-data-am: diff --git a/sysutils/amanda-server/patches/patch-ah b/sysutils/amanda-server/patches/patch-ah index 05720ab58b2..b9cea70e1c5 100644 --- a/sysutils/amanda-server/patches/patch-ah +++ b/sysutils/amanda-server/patches/patch-ah @@ -1,20 +1,8 @@ -$NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ah,v 1.6 2004/11/12 12:13:45 mjl Exp $ ---- server-src/Makefile.in.orig 2004-01-08 10:22:53.000000000 -0800 -+++ server-src/Makefile.in 2004-02-23 14:25:45.000000000 -0800 -@@ -198,10 +198,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) \ -- libamserver.$(LIB_EXTENSION) \ -- ../tape-src/libamtape.$(LIB_EXTENSION) \ -- ../common-src/libamanda.$(LIB_EXTENSION) -+LDADD = libamserver.$(LIB_EXTENSION) - - - SUFFIXES = .sh .pl -@@ -259,155 +256,98 @@ +--- server-src/Makefile.in.orig 2004-10-22 15:12:41.000000000 +0200 ++++ server-src/Makefile.in 2004-11-08 01:11:07.000000000 +0100 +@@ -88,137 +88,80 @@ amadmin_SOURCES = amadmin.c amadmin_OBJECTS = amadmin.$(OBJEXT) amadmin_LDADD = $(LDADD) @@ -23,7 +11,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amadmin_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amadmin_LDFLAGS = amcheck_SOURCES = amcheck.c amcheck_OBJECTS = amcheck.$(OBJEXT) amcheck_LDADD = $(LDADD) @@ -32,7 +19,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amcheck_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amcheck_LDFLAGS = amcleanupdisk_SOURCES = amcleanupdisk.c amcleanupdisk_OBJECTS = amcleanupdisk.$(OBJEXT) amcleanupdisk_LDADD = $(LDADD) @@ -41,7 +27,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amcleanupdisk_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amcleanupdisk_LDFLAGS = amflush_SOURCES = amflush.c amflush_OBJECTS = amflush.$(OBJEXT) amflush_LDADD = $(LDADD) @@ -50,7 +35,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amflush_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amflush_LDFLAGS = am_amgetconf_OBJECTS = getconf.$(OBJEXT) amgetconf_OBJECTS = $(am_amgetconf_OBJECTS) amgetconf_LDADD = $(LDADD) @@ -59,7 +43,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amgetconf_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amgetconf_LDFLAGS = am_amindexd_OBJECTS = amindexd.$(OBJEXT) disk_history.$(OBJEXT) \ list_dir.$(OBJEXT) amindexd_OBJECTS = $(am_amindexd_OBJECTS) @@ -69,7 +52,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amindexd_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amindexd_LDFLAGS = amlabel_SOURCES = amlabel.c amlabel_OBJECTS = amlabel.$(OBJEXT) amlabel_LDADD = $(LDADD) @@ -78,7 +60,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amlabel_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amlabel_LDFLAGS = amlogroll_SOURCES = amlogroll.c amlogroll_OBJECTS = amlogroll.$(OBJEXT) amlogroll_LDADD = $(LDADD) @@ -87,7 +68,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amlogroll_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amlogroll_LDFLAGS = am_amreport_OBJECTS = reporter.$(OBJEXT) amreport_OBJECTS = $(am_amreport_OBJECTS) amreport_LDADD = $(LDADD) @@ -96,7 +76,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amreport_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amreport_LDFLAGS = amtape_SOURCES = amtape.c amtape_OBJECTS = amtape.$(OBJEXT) amtape_LDADD = $(LDADD) @@ -105,7 +84,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amtape_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amtape_LDFLAGS = amtrmidx_SOURCES = amtrmidx.c amtrmidx_OBJECTS = amtrmidx.$(OBJEXT) amtrmidx_LDADD = $(LDADD) @@ -114,7 +92,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amtrmidx_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amtrmidx_LDFLAGS = amtrmlog_SOURCES = amtrmlog.c amtrmlog_OBJECTS = amtrmlog.$(OBJEXT) amtrmlog_LDADD = $(LDADD) @@ -123,7 +100,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +amtrmlog_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - amtrmlog_LDFLAGS = am_conffile_OBJECTS = conffile.test.$(OBJEXT) conffile_OBJECTS = $(am_conffile_OBJECTS) conffile_LDADD = $(LDADD) @@ -132,7 +108,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +conffile_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - conffile_LDFLAGS = am_diskfile_OBJECTS = diskfile.test.$(OBJEXT) diskfile_OBJECTS = $(am_diskfile_OBJECTS) diskfile_LDADD = $(LDADD) @@ -141,7 +116,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +diskfile_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - diskfile_LDFLAGS = driver_SOURCES = driver.c driver_OBJECTS = driver.$(OBJEXT) driver_LDADD = $(LDADD) @@ -150,7 +124,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +driver_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - driver_LDFLAGS = dumper_SOURCES = dumper.c dumper_OBJECTS = dumper.$(OBJEXT) dumper_LDADD = $(LDADD) @@ -159,7 +132,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +dumper_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - dumper_LDFLAGS = am_infofile_OBJECTS = infofile.test.$(OBJEXT) infofile_OBJECTS = $(am_infofile_OBJECTS) infofile_LDADD = $(LDADD) @@ -168,7 +140,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +infofile_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - infofile_LDFLAGS = planner_SOURCES = planner.c planner_OBJECTS = planner.$(OBJEXT) planner_LDADD = $(LDADD) @@ -177,7 +148,6 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +planner_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - planner_LDFLAGS = taper_SOURCES = taper.c taper_OBJECTS = taper.$(OBJEXT) taper_LDADD = $(LDADD) @@ -186,15 +156,27 @@ $NetBSD: patch-ah,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +taper_DEPENDENCIES = libamserver.$(LIB_EXTENSION) - taper_LDFLAGS = + sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(sbin_SCRIPTS) - -@@ -416,7 +356,7 @@ - DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config - CPPFLAGS = @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config +@@ -338,7 +281,7 @@ + LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ + LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ +LIBS = @LIBS@ -lamtape -lamanda - depcomp = $(SHELL) $(top_srcdir)/config/depcomp - am__depfiles_maybe = depfiles - @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/amadmin.Po ./$(DEPDIR)/amcheck.Po \ + LIBTOOL = @LIBTOOL@ + LIBTOOL_DEPS = @LIBTOOL_DEPS@ + LN_S = @LN_S@ +@@ -478,10 +421,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) \ +- libamserver.$(LIB_EXTENSION) \ +- ../tape-src/libamtape.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++LDADD = libamserver.$(LIB_EXTENSION) + + SUFFIXES = .sh .pl + diff --git a/sysutils/amanda-server/patches/patch-ai b/sysutils/amanda-server/patches/patch-ai index f1a1bccf4fd..a10c10486ca 100644 --- a/sysutils/amanda-server/patches/patch-ai +++ b/sysutils/amanda-server/patches/patch-ai @@ -1,21 +1,9 @@ -$NetBSD: patch-ai,v 1.5 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ai,v 1.6 2004/11/12 12:13:45 mjl Exp $ ---- changer-src/Makefile.in.orig 2004-01-08 10:23:21.000000000 -0800 -+++ changer-src/Makefile.in 2004-02-23 15:25:39.000000000 -0800 -@@ -179,10 +179,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) \ -- ../server-src/libamserver.$(LIB_EXTENSION) \ -- ../tape-src/libamtape.$(LIB_EXTENSION) \ -- ../common-src/libamanda.$(LIB_EXTENSION) -+LDADD = ../server-src/libamserver.$(LIB_EXTENSION) - - - SUFFIXES = .pl .sh -@@ -213,19 +210,13 @@ - scsi-bsd.$(OBJEXT) scsi-cam.$(OBJEXT) sense.$(OBJEXT) +--- changer-src/Makefile.in.orig 2004-10-22 15:12:38.000000000 +0200 ++++ changer-src/Makefile.in 2004-11-08 01:13:46.000000000 +0100 +@@ -73,18 +73,12 @@ + sense.$(OBJEXT) chg_scsi_OBJECTS = $(am_chg_scsi_OBJECTS) chg_scsi_LDADD = $(LDADD) -chg_scsi_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ @@ -23,7 +11,6 @@ $NetBSD: patch-ai,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +chg_scsi_DEPENDENCIES = ../server-src/libamserver.$(LIB_EXTENSION) - chg_scsi_LDFLAGS = am_chg_scsi_chio_OBJECTS = chg-scsi-chio.$(OBJEXT) scsi-hpux.$(OBJEXT) \ scsi-chio.$(OBJEXT) chg_scsi_chio_OBJECTS = $(am_chg_scsi_chio_OBJECTS) @@ -33,6 +20,18 @@ $NetBSD: patch-ai,v 1.5 2004/05/12 18:45:26 bouyer Exp $ - ../tape-src/libamtape.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) +chg_scsi_chio_DEPENDENCIES = ../server-src/libamserver.$(LIB_EXTENSION) - chg_scsi_chio_LDFLAGS = + libexecSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(libexec_SCRIPTS) + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config +@@ -316,10 +310,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) \ +- ../server-src/libamserver.$(LIB_EXTENSION) \ +- ../tape-src/libamtape.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++LDADD = ../server-src/libamserver.$(LIB_EXTENSION) + SUFFIXES = .pl .sh + chg_scsi_SOURCES = chg-scsi.c libscsi.h scsi-defs.h \ diff --git a/sysutils/amanda-server/patches/patch-aj b/sysutils/amanda-server/patches/patch-aj index 0b0fa2a25d3..8bdfbd9b175 100644 --- a/sysutils/amanda-server/patches/patch-aj +++ b/sysutils/amanda-server/patches/patch-aj @@ -1,8 +1,27 @@ -$NetBSD: patch-aj,v 1.2 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-aj,v 1.3 2004/11/12 12:13:45 mjl Exp $ ---- restore-src/Makefile.in.orig 2004-01-08 10:23:31.000000000 -0800 -+++ restore-src/Makefile.in 2004-02-23 15:39:26.000000000 -0800 -@@ -170,16 +170,11 @@ +--- restore-src/Makefile.in.orig 2004-10-22 15:12:41.000000000 +0200 ++++ restore-src/Makefile.in 2004-11-08 01:16:01.000000000 +0100 +@@ -57,16 +57,11 @@ + PROGRAMS = $(libexec_PROGRAMS) $(sbin_PROGRAMS) + am_amidxtaped_OBJECTS = amidxtaped.$(OBJEXT) + amidxtaped_OBJECTS = $(am_amidxtaped_OBJECTS) +-amidxtaped_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- ../server-src/libamserver.$(LIB_EXTENSION) \ +- ../tape-src/libamtape.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++amidxtaped_DEPENDENCIES = ../server-src/libamserver.$(LIB_EXTENSION) + amrestore_SOURCES = amrestore.c + amrestore_OBJECTS = amrestore.$(OBJEXT) + amrestore_LDADD = $(LDADD) +-amrestore_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ +- ../tape-src/libamtape.$(LIB_EXTENSION) \ +- ../common-src/libamanda.$(LIB_EXTENSION) ++amrestore_DEPENDENCIES = + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config + depcomp = $(SHELL) $(top_srcdir)/config/depcomp + am__depfiles_maybe = depfiles +@@ -282,15 +277,10 @@ # need to list libamanda twice here, first to override the system library # routines, and second to pick up any references in the other libraries. ### @@ -11,7 +30,6 @@ $NetBSD: patch-aj,v 1.2 2004/05/12 18:45:26 bouyer Exp $ - ../common-src/libamanda.$(LIB_EXTENSION) +LDADD = -lamtape -lamanda - amidxtaped_SOURCES = amidxtaped.c -amidxtaped_LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ - ../server-src/libamserver.$(LIB_EXTENSION) \ @@ -19,25 +37,5 @@ $NetBSD: patch-aj,v 1.2 2004/05/12 18:45:26 bouyer Exp $ - ../common-src/libamanda.$(LIB_EXTENSION) +amidxtaped_LDADD = ../server-src/libamserver.$(LIB_EXTENSION) - subdir = restore-src - mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs -@@ -191,17 +186,12 @@ - - am_amidxtaped_OBJECTS = amidxtaped.$(OBJEXT) - amidxtaped_OBJECTS = $(am_amidxtaped_OBJECTS) --amidxtaped_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -- ../server-src/libamserver.$(LIB_EXTENSION) \ -- ../tape-src/libamtape.$(LIB_EXTENSION) \ -- ../common-src/libamanda.$(LIB_EXTENSION) -+amidxtaped_DEPENDENCIES = ../server-src/libamserver.$(LIB_EXTENSION) - amidxtaped_LDFLAGS = - amrestore_SOURCES = amrestore.c - amrestore_OBJECTS = amrestore.$(OBJEXT) - amrestore_LDADD = $(LDADD) --amrestore_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -- ../tape-src/libamtape.$(LIB_EXTENSION) \ -- ../common-src/libamanda.$(LIB_EXTENSION) -+amrestore_DEPENDENCIES = - amrestore_LDFLAGS = + all: all-am - DEFS = @DEFS@ diff --git a/sysutils/amanda-server/patches/patch-ak b/sysutils/amanda-server/patches/patch-ak index c364cf006ea..120482aaf94 100644 --- a/sysutils/amanda-server/patches/patch-ak +++ b/sysutils/amanda-server/patches/patch-ak @@ -1,10 +1,10 @@ -$NetBSD: patch-ak,v 1.2 2004/05/12 18:45:26 bouyer Exp $ +$NetBSD: patch-ak,v 1.3 2004/11/12 12:13:45 mjl Exp $ ---- man/Makefile.in.orig 2004-01-08 10:23:42.000000000 -0800 -+++ man/Makefile.in 2004-02-23 15:57:35.000000000 -0800 -@@ -189,7 +189,6 @@ +--- man/Makefile.in.orig 2004-10-22 15:12:40.000000000 +0200 ++++ man/Makefile.in 2004-11-08 01:17:10.000000000 +0100 +@@ -281,7 +281,6 @@ + # 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) \ -- cgit v1.2.3