Subject: pkg/24550: Update amanda & sub-pkgs from 2.4.2p2 to 2.4.4p2
To: None <gnats-bugs@gnats.NetBSD.org>
From: Paul Shupak <paul@svcs.plectere.com>
List: netbsd-bugs
Date: 02/24/2004 08:57:27
>Number: 24550
>Category: pkg
>Synopsis: Update amanda & sub-pkgs from 2.4.2p2 to 2.4.4p2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 24 16:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Paul Shupak
>Release: NetBSD 1.6ZK
>Organization:
>Environment:
System: NetBSD svcs 1.6ZK NetBSD 1.6ZK (SVCS) #52: Sat Feb 21 16:24:59 PST 2004 root@svcs:/sys/arch/i386/compile/SVCS i386
Architecture: i386
Machine: i386
>Description:
The later release supports backup to disks (e.g. RAID) & other features.
>How-To-Repeat:
Examine the code.
>Fix:
After hand merging the existing pacthes from both the sysutils/amanda+
and sysutils/amanda-dev+ hierachies I arrived at the following patches (from
/usr/pkgsrc/sysutils) :
********************************************************************************
cvs diff: Diffing amanda
Index: amanda/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- amanda/Makefile 17 Jul 2003 22:53:25 -0000 1.35
+++ amanda/Makefile 24 Feb 2004 16:36:50 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.35 2003/07/17 22:53:25 grant Exp $
#
-DISTNAME= amanda-2.4.2p2
+DISTNAME= amanda-2.4.4p2
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
@@ -10,9 +10,9 @@
HOMEPAGE= http://www.amanda.org/
COMMENT= The "meta-package" for Amanda, a network backup system
-DEPENDS+= amanda-client-2.4.2p2:../../sysutils/amanda-client
-DEPENDS+= amanda-server-2.4.2p2:../../sysutils/amanda-server
-DEPENDS+= amanda-plot-2.4.2p2:../../sysutils/amanda-plot
+DEPENDS+= amanda-client-2.4.4p2:../../sysutils/amanda-client
+DEPENDS+= amanda-server-2.4.4p2:../../sysutils/amanda-server
+DEPENDS+= amanda-plot-2.4.4p2:../../sysutils/amanda-plot
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
cvs diff: Diffing amanda-client
Index: amanda-client/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- amanda-client/Makefile 17 Jul 2003 22:53:25 -0000 1.32
+++ amanda-client/Makefile 24 Feb 2004 16:36:50 -0000
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.32 2003/07/17 22:53:25 grant Exp $
#
-DISTNAME= amanda-2.4.2p2
-PKGNAME= amanda-client-2.4.2p2
+DISTNAME= amanda-2.4.4p2
+PKGNAME= amanda-client-2.4.4p2
SVR4_PKGNAME= amacl
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
@@ -11,7 +11,7 @@
HOMEPAGE= http://www.amanda.org/
COMMENT= Client part of Amanda, a network backup system
-DEPENDS+= amanda-common-2.4.2p2:../../sysutils/amanda-common
+DEPENDS+= amanda-common-2.4.4p2:../../sysutils/amanda-common
USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
Index: amanda-client/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- amanda-client/PLIST 31 Oct 2001 22:52:47 -0000 1.1
+++ amanda-client/PLIST 24 Feb 2004 16:36:50 -0000
@@ -1,7 +1,7 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:52:47 zuntum Exp $
lib/libamclient.a
lib/libamclient.la
-lib/libamclient-2.4.2p2.so
+lib/libamclient-2.4.4p2.so
libexec/amandad
libexec/calcsize
libexec/killpgrp
Index: amanda-client/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- amanda-client/distinfo 26 Jun 2001 03:15:16 -0000 1.4
+++ amanda-client/distinfo 24 Feb 2004 16:36:52 -0000
@@ -1,9 +1,8 @@
$NetBSD: distinfo,v 1.4 2001/06/26 03:15:16 christos Exp $
-SHA1 (amanda-2.4.2p2.tar.gz) = 721060b1357e9b939d06773f91a20de1d507521b
-Size (amanda-2.4.2p2.tar.gz) = 922404 bytes
-SHA1 (patch-aa) = e4f33a5e1a26d41344e337d046389ab1a748d111
-SHA1 (patch-ab) = 2038d93f6be6258c3432b534de7c6bfd010f7ecc
-SHA1 (patch-ac) = 806cbd9e4fcea98bbba2907e33a7092e2e773c59
-SHA1 (patch-ad) = 3debabdc26ca1f03f6bf8ff32d99d45ee65d5cea
-SHA1 (patch-ae) = 76a6de436b868f424cbc1371fc1cce93cecf5b25
+SHA1 (amanda-2.4.4p2.tar.gz) = c14510260941a3915f4068e6b7e3f91698ab099e
+Size (amanda-2.4.4p2.tar.gz) = 1263075 bytes
+SHA1 (patch-aa) = 8fe701531184ecbaa914b36056083d0e099724b0
+SHA1 (patch-ab) = ee7fa4a6258f8e7cccef33707f66f0e92235834b
+SHA1 (patch-ac) = f90f353023868aabdd272861d804c35bead29a95
+SHA1 (patch-ad) = c997170f5a5143dde46b922e3642e81ddc2c6f87
cvs diff: Diffing amanda-client/patches
Index: amanda-client/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- amanda-client/patches/patch-aa 16 Jan 2001 21:59:30 -0000 1.4
+++ amanda-client/patches/patch-aa 24 Feb 2004 16:36:52 -0000
@@ -1,15 +1,25 @@
-$NetBSD: patch-aa,v 1.4 2001/01/16 21:59:30 cjones Exp $
-
---- configure~ Sat Nov 25 06:59:40 2000
-+++ configure Mon Jan 15 16:39:41 2001
-@@ -4924,8 +4924,10 @@
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
+--- Makefile.in.orig 2004-01-08 10:21:29.000000000 -0800
++++ Makefile.in 2004-02-23 09:57:40.000000000 -0800
+@@ -168,20 +168,16 @@
+ # 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
-+if false ; then
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+fi
- # Redirect the config.log output again, so that the ltconfig log is not
- # clobbered by the next message.
+-pkgdata_DATA = \
+- COPYRIGHT \
+- COPYRIGHT-APACHE \
+- COPYRIGHT-REGEX
++pkgdata_DATA =
+
+
+ EXTRA_DIST = $(SNAPSHOT_STAMP) \
Index: amanda-client/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/patches/patch-ab,v
retrieving revision 1.5
diff -u -r1.5 patch-ab
--- amanda-client/patches/patch-ab 26 Jun 2001 03:14:11 -0000 1.5
+++ amanda-client/patches/patch-ab 24 Feb 2004 16:36:52 -0000
@@ -1,86 +1,13 @@
-$NetBSD: patch-ab,v 1.5 2001/06/26 03:14:11 christos Exp $
-
---- client-src/Makefile.in.orig Tue Apr 3 15:55:44 2001
-+++ client-src/Makefile.in Mon Jun 25 22:05:53 2001
-@@ -174,7 +174,7 @@
- # routines, and second to pick up any references in the other libraries.
- ###
+--- man/Makefile.in.orig 2004-01-08 10:23:42.000000000 -0800
++++ man/Makefile.in 2004-02-23 10:00:21.000000000 -0800
+@@ -188,9 +188,7 @@
+ # not autoconf-generated:
+ EXTRA_DIST = amplot.8 amrestore.8 amtape.8 amdd.8 ammt.8
--LDADD = ../common-src/libamanda.$(LIB_EXTENSION) libamclient.$(LIB_EXTENSION) ../common-src/libamanda.$(LIB_EXTENSION)
-+LDADD = libamclient.$(LIB_EXTENSION) -lamanda
-
-
- SUFFIXES = .sh .pl
-@@ -228,62 +228,52 @@
-
- getfsent_OBJECTS = getfsent.test.$(OBJEXT)
- 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 =
- 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 =
- 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 =
- sendbackup_OBJECTS = sendbackup.$(OBJEXT) sendbackup-dump.$(OBJEXT) \
- sendbackup-gnutar.$(OBJEXT)
- 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)
+-man_MANS = $(AMPLOT_MAN_PAGES) \
+- $(COMMON_MAN_PAGES) \
+- $(SERVER_MAN_PAGES) \
++man_MANS = $(SERVER_MAN_PAGES) \
+ $(RECOVER_MAN_PAGES) \
+ $(RESTORE_MAN_PAGES)
Index: amanda-client/patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/patches/patch-ac,v
retrieving revision 1.5
diff -u -r1.5 patch-ac
--- amanda-client/patches/patch-ac 26 Jun 2001 03:14:11 -0000 1.5
+++ amanda-client/patches/patch-ac 24 Feb 2004 16:36:52 -0000
@@ -1,17 +1,105 @@
-$NetBSD: patch-ac,v 1.5 2001/06/26 03:14:11 christos Exp $
-
---- Makefile.in.orig Tue Apr 3 15:55:47 2001
-+++ Makefile.in Mon Jun 25 22:16:50 2001
-@@ -157,10 +157,10 @@
- @WANT_RECOVER_TRUE@RECOVER_SUBDIRS = recover-src
- @WANT_AMPLOT_TRUE@PLOT_SUBDIRS = amplot
- # 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
-+SUBDIRS = config $(CLIENT_SUBDIRS) $(TAPE_SUBDIRS) $(SERVER_SUBDIRS) $(RESTORE_SUBDIRS) $(RECOVER_SUBDIRS) man
+--- client-src/Makefile.in.orig 2004-01-08 10:22:34.000000000 -0800
++++ client-src/Makefile.in 2004-02-23 12:42:44.000000000 -0800
+@@ -184,9 +184,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
--pkgdata_DATA = COPYRIGHT COPYRIGHT-APACHE COPYRIGHT-REGEX
-+pkgdata_DATA =
+ SUFFIXES = .sh .pl
+@@ -237,80 +235,58 @@
+ 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 =
+ amqde_SOURCES = amqde.c
+ amqde_OBJECTS = amqde.$(OBJEXT)
+ amqde_LDADD = $(LDADD)
+-amqde_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamclient.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++amqde_DEPENDENCIES = libamclient.$(LIB_EXTENSION)
+ amqde_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)
-
- EXTRA_DIST = $(SNAPSHOT_STAMP) $(pkgdata_DATA) contrib/README contrib/dbbackup.README contrib/dbbackup.ksh contrib/dbbackup.sql contrib/dbbackup.tcl contrib/set_prod_link.pl contrib/sst/Makefile contrib/sst/README contrib/sst/README.Amanda contrib/sst/sst.c contrib/sst/sst.conf contrib/sst/sst_def.h contrib/sst/sstest.c patches/regex-3.6alpha.patch patches/samba-largefs.patch patches/tar-1.12.patch regex-src/COPYRIGHT regex-src/Makefile regex-src/README regex-src/WHATSNEW regex-src/cclass.h regex-src/cname.h regex-src/debug.c regex-src/engine.c regex-src/main.c regex-src/mkh regex-src/regcomp.c regex-src/regerror.c regex-src/regex.3 regex-src/regex.7 regex-src/regex2.h regex-src/regexec.c regex-src/regfree.c regex-src/split.c regex-src/tests regex-src/utils.h regex-src/fake/limits.h regex-src/fake/memmove.c regex-src/fake/stdlib.h
Index: amanda-client/patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-client/patches/patch-ad,v
retrieving revision 1.5
diff -u -r1.5 patch-ad
--- amanda-client/patches/patch-ad 26 Jun 2001 03:14:11 -0000 1.5
+++ amanda-client/patches/patch-ad 24 Feb 2004 16:36:52 -0000
@@ -1,13 +1,26 @@
-$NetBSD: patch-ad,v 1.5 2001/06/26 03:14:11 christos Exp $
-
---- man/Makefile.in.orig Tue Apr 3 15:55:45 2001
-+++ man/Makefile.in Mon Jun 25 22:09:13 2001
-@@ -159,7 +159,7 @@
- # not autoconf-generated:
- EXTRA_DIST = amplot.8 amrestore.8 amtape.8
+--- recover-src/Makefile.in.orig 2004-01-08 10:23:34.000000000 -0800
++++ recover-src/Makefile.in 2004-02-23 12:49:20.000000000 -0800
+@@ -172,10 +172,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 \
+ $(READLINE_LIBS)
--man_MANS = $(AMPLOT_MAN_PAGES) $(COMMON_MAN_PAGES) $(SERVER_MAN_PAGES) $(RECOVER_MAN_PAGES) $(RESTORE_MAN_PAGES)
-+man_MANS = $(SERVER_MAN_PAGES) $(RECOVER_MAN_PAGES) $(RESTORE_MAN_PAGES)
- mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
- CONFIG_HEADER = ../config/config.h
+@@ -200,9 +199,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@
cvs diff: Diffing amanda-common
Index: amanda-common/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- amanda-common/Makefile 17 Jul 2003 22:53:25 -0000 1.27
+++ amanda-common/Makefile 24 Feb 2004 16:36:52 -0000
@@ -2,8 +2,8 @@
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
-DISTNAME= amanda-2.4.2p2
-PKGNAME= amanda-common-2.4.2p2
+DISTNAME= amanda-2.4.4p2
+PKGNAME= amanda-common-2.4.4p2
SVR4_PKGNAME= amaco
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
Index: amanda-common/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- amanda-common/PLIST 31 Oct 2001 22:52:48 -0000 1.1
+++ amanda-common/PLIST 24 Feb 2004 16:36:52 -0000
@@ -1,9 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:52:48 zuntum Exp $
-lib/libamanda-2.4.2p2.so
+lib/libamanda-2.4.4p2.so
lib/libamanda.a
lib/libamanda.la
lib/libamanda.so
-lib/libamtape-2.4.2p2.so
+lib/libamtape-2.4.4p2.so
lib/libamtape.a
lib/libamtape.la
lib/libamtape.so
Index: amanda-common/buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/buildlink2.mk,v
retrieving revision 1.2
diff -u -r1.2 buildlink2.mk
--- amanda-common/buildlink2.mk 25 Oct 2002 18:59:42 -0000 1.2
+++ amanda-common/buildlink2.mk 24 Feb 2004 16:36:52 -0000
@@ -5,14 +5,14 @@
AMANDA_COMMON_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= amanda-common
-BUILDLINK_DEPENDS.amanda-common?= amanda-common>=2.4.2p2
+BUILDLINK_DEPENDS.amanda-common?= amanda-common>=2.4.4p2
BUILDLINK_PKGSRCDIR.amanda-common?= ../../sysutils/amanda-common
EVAL_PREFIX+= BUILDLINK_PREFIX.amanda-common=amanda-common
BUILDLINK_PREFIX.amanda-common_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.amanda-common+= lib/libamanda-2.4.2p2.*
+BUILDLINK_FILES.amanda-common+= lib/libamanda-2.4.4p2.*
BUILDLINK_FILES.amanda-common+= lib/libamanda.*
-BUILDLINK_FILES.amanda-common+= lib/libamtape-2.4.2p2.*
+BUILDLINK_FILES.amanda-common+= lib/libamtape-2.4.4p2.*
BUILDLINK_FILES.amanda-common+= lib/libamtape.*
BUILDLINK_TARGETS+= amanda-common-buildlink
Index: amanda-common/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- amanda-common/distinfo 26 Jun 2001 03:15:16 -0000 1.3
+++ amanda-common/distinfo 24 Feb 2004 16:36:52 -0000
@@ -1,10 +1,8 @@
$NetBSD: distinfo,v 1.3 2001/06/26 03:15:16 christos Exp $
-SHA1 (amanda-2.4.2p2.tar.gz) = 721060b1357e9b939d06773f91a20de1d507521b
-Size (amanda-2.4.2p2.tar.gz) = 922404 bytes
-SHA1 (patch-aa) = 2e208f279d4818bd7c4781f9d497a230a45594c7
-SHA1 (patch-ab) = 2049fa69571358e91598bfe257a1a6cff1a493d7
-SHA1 (patch-ac) = 1568881a280e08e4e0bd708234f6bbef04f7f1ed
+SHA1 (amanda-2.4.4p2.tar.gz) = c14510260941a3915f4068e6b7e3f91698ab099e
+Size (amanda-2.4.4p2.tar.gz) = 1263075 bytes
+SHA1 (patch-aa) = 1df9e49ff2579e34aa8f219abc177802481c222b
+SHA1 (patch-ab) = fc8639f227d8840c2b639d509fb7e45dc7548758
+SHA1 (patch-ac) = e8b5fc757f21eac22aac1c2a1da3ca0510973db3
SHA1 (patch-ad) = 510e650c9e9976323b1d27a7895cee6281b89dcd
-SHA1 (patch-ba) = 7c2b47e1239bc2d0e31f8336a85ea058d8fb07b4
-SHA1 (patch-bb) = c8c91b848e669f2ccd3a753cfa7aba64e47d2166
cvs diff: Diffing amanda-common/patches
Index: amanda-common/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/patches/patch-aa,v
retrieving revision 1.6
diff -u -r1.6 patch-aa
--- amanda-common/patches/patch-aa 26 Jun 2001 03:14:12 -0000 1.6
+++ amanda-common/patches/patch-aa 24 Feb 2004 16:36:52 -0000
@@ -1,19 +1,15 @@
-$NetBSD: patch-aa,v 1.6 2001/06/26 03:14:12 christos Exp $
-
---- client-src/Makefile.in.orig Mon Jun 25 21:44:46 2001
-+++ client-src/Makefile.in Mon Jun 25 22:29:03 2001
-@@ -281,11 +281,10 @@
- sendsize_LDFLAGS =
+--- client-src/Makefile.in.orig 2004-01-08 10:22:34.000000000 -0800
++++ client-src/Makefile.in 2004-02-23 16:26:20.000000000 -0800
+@@ -307,10 +307,8 @@
+ sendsize_LDFLAGS =
versionsuffix_SOURCES = versionsuffix.c
- versionsuffix_OBJECTS = versionsuffix.$(OBJEXT)
+ versionsuffix_OBJECTS = versionsuffix.$(OBJEXT)
-versionsuffix_LDADD = $(LDADD)
--versionsuffix_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamclient.$(LIB_EXTENSION) ../common-src/libamanda.$(LIB_EXTENSION)
+-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)
+ versionsuffix_LDFLAGS =
+ SCRIPTS = $(libexec_SCRIPTS) $(sbin_SCRIPTS)
- CFLAGS = @CFLAGS@
- COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Index: amanda-common/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/patches/patch-ab,v
retrieving revision 1.5
diff -u -r1.5 patch-ab
--- amanda-common/patches/patch-ab 26 Jun 2001 03:14:12 -0000 1.5
+++ amanda-common/patches/patch-ab 24 Feb 2004 16:36:53 -0000
@@ -1,32 +1,34 @@
-$NetBSD: patch-ab,v 1.5 2001/06/26 03:14:12 christos Exp $
-
---- Makefile.in.orig Tue Apr 3 15:55:47 2001
-+++ Makefile.in Mon Jun 25 21:50:51 2001
-@@ -151,11 +151,11 @@
+--- Makefile.in.orig 2004-01-08 10:21:29.000000000 -0800
++++ Makefile.in 2004-02-23 16:30:27.000000000 -0800
+@@ -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 = .
+@@ -160,11 +160,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
+ @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 common-src $(CLIENT_SUBDIRS) $(TAPE_SUBDIRS) $(SERVER_SUBDIRS) $(RESTORE_SUBDIRS) $(RECOVER_SUBDIRS) $(PLOT_SUBDIRS) man docs example
+ SUBDIRS = \
+ config \
+@@ -175,7 +175,7 @@
+ $(RESTORE_SUBDIRS) \
+ $(RECOVER_SUBDIRS) \
+ $(PLOT_SUBDIRS) \
+- man docs example
++ man
-@@ -381,11 +381,11 @@
- install-exec-am:
- install-exec: install-exec-recursive
--install-data-am: install-pkgdataDATA
-+#install-data-am: install-pkgdataDATA
- install-data: install-data-recursive
-
- install-am: all-am
-- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am
- install: install-recursive
- uninstall-am: uninstall-pkgdataDATA
- uninstall: uninstall-recursive
+ pkgdata_DATA = \
Index: amanda-common/patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-common/patches/patch-ac,v
retrieving revision 1.5
diff -u -r1.5 patch-ac
--- amanda-common/patches/patch-ac 26 Jun 2001 03:14:12 -0000 1.5
+++ amanda-common/patches/patch-ac 24 Feb 2004 16:36:53 -0000
@@ -1,13 +1,25 @@
-$NetBSD: patch-ac,v 1.5 2001/06/26 03:14:12 christos Exp $
-
---- man/Makefile.in.orig Tue Apr 3 15:55:45 2001
-+++ man/Makefile.in Mon Jun 25 21:52:30 2001
-@@ -146,7 +146,7 @@
-
- transform = s,x,x,;
+--- man/Makefile.in.orig 2004-01-08 10:23:42.000000000 -0800
++++ man/Makefile.in 2004-02-23 16:32:57.000000000 -0800
+@@ -156,20 +156,18 @@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
-@WANT_AMPLOT_TRUE@AMPLOT_MAN_PAGES = amplot.8
+#AMPLOT_MAN_PAGES = amplot.8
- COMMON_MAN_PAGES = amanda.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 \
cvs diff: Diffing amanda-plot
Index: amanda-plot/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-plot/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- amanda-plot/Makefile 17 Jul 2003 22:53:26 -0000 1.13
+++ amanda-plot/Makefile 24 Feb 2004 16:36:53 -0000
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.13 2003/07/17 22:53:26 grant Exp $
#
-DISTNAME= amanda-2.4.2p2
-PKGNAME= amanda-plot-2.4.2p2
+DISTNAME= amanda-2.4.4p2
+PKGNAME= amanda-plot-2.4.4p2
SVR4_PKGNAME= amapl
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
@@ -12,7 +12,7 @@
COMMENT= Visualizes the behavior of Amanda, a network backup system
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
-DEPENDS+= amanda-server-2.4.2p2:../../sysutils/amanda-server
+DEPENDS+= amanda-server-2.4.4p2:../../sysutils/amanda-server
USE_BUILDLINK2= yes
Index: amanda-plot/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-plot/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- amanda-plot/distinfo 26 Jun 2001 03:15:17 -0000 1.3
+++ amanda-plot/distinfo 24 Feb 2004 16:36:53 -0000
@@ -1,7 +1,6 @@
$NetBSD: distinfo,v 1.3 2001/06/26 03:15:17 christos Exp $
-SHA1 (amanda-2.4.2p2.tar.gz) = 721060b1357e9b939d06773f91a20de1d507521b
-Size (amanda-2.4.2p2.tar.gz) = 922404 bytes
-SHA1 (patch-aa) = 12ff93eea6d9f443ce2f236492d9e0362fd2d9ff
-SHA1 (patch-ab) = ff753e70a41d53ce296001a346fd7093312f31b4
-SHA1 (patch-ac) = 74dadd333fefc4d244d50b52b4a16c6b0df1fbba
+SHA1 (amanda-2.4.4p2.tar.gz) = c14510260941a3915f4068e6b7e3f91698ab099e
+Size (amanda-2.4.4p2.tar.gz) = 1263075 bytes
+SHA1 (patch-ab) = c6b1ab0f273a2832abe57b97cb63b96fd76e633d
+SHA1 (patch-ac) = 9b4fda0170f16a50220d751f69045c91b1eba4c4
cvs diff: Diffing amanda-plot/patches
Index: amanda-plot/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-plot/patches/patch-ab,v
retrieving revision 1.3
diff -u -r1.3 patch-ab
--- amanda-plot/patches/patch-ab 26 Jun 2001 03:14:12 -0000 1.3
+++ amanda-plot/patches/patch-ab 24 Feb 2004 16:36:53 -0000
@@ -1,17 +1,25 @@
-$NetBSD: patch-ab,v 1.3 2001/06/26 03:14:12 christos Exp $
-
---- Makefile.in.orig Tue Apr 3 15:55:47 2001
-+++ Makefile.in Mon Jun 25 23:00:36 2001
-@@ -157,10 +157,10 @@
- @WANT_RECOVER_TRUE@RECOVER_SUBDIRS = recover-src
- @WANT_AMPLOT_TRUE@PLOT_SUBDIRS = amplot
+--- Makefile.in.orig 2004-01-08 10:21:29.000000000 -0800
++++ Makefile.in 2004-02-24 08:26:13.000000000 -0800
+@@ -168,20 +168,14 @@
# 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
-+SUBDIRS = config $(CLIENT_SUBDIRS) $(RESTORE_SUBDIRS) $(RECOVER_SUBDIRS) $(PLOT_SUBDIRS) man
+ 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 = \
+- COPYRIGHT \
+- COPYRIGHT-APACHE \
+- COPYRIGHT-REGEX
+pkgdata_DATA =
- EXTRA_DIST = $(SNAPSHOT_STAMP) $(pkgdata_DATA) contrib/README contrib/dbbackup.README contrib/dbbackup.ksh contrib/dbbackup.sql contrib/dbbackup.tcl contrib/set_prod_link.pl contrib/sst/Makefile contrib/sst/README contrib/sst/README.Amanda contrib/sst/sst.c contrib/sst/sst.conf contrib/sst/sst_def.h contrib/sst/sstest.c patches/regex-3.6alpha.patch patches/samba-largefs.patch patches/tar-1.12.patch regex-src/COPYRIGHT regex-src/Makefile regex-src/README regex-src/WHATSNEW regex-src/cclass.h regex-src/cname.h regex-src/debug.c regex-src/engine.c regex-src/main.c regex-src/mkh regex-src/regcomp.c regex-src/regerror.c regex-src/regex.3 regex-src/regex.7 regex-src/regex2.h regex-src/regexec.c regex-src/regfree.c regex-src/split.c regex-src/tests regex-src/utils.h regex-src/fake/limits.h regex-src/fake/memmove.c regex-src/fake/stdlib.h
+ EXTRA_DIST = $(SNAPSHOT_STAMP) \
Index: amanda-plot/patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-plot/patches/patch-ac,v
retrieving revision 1.3
diff -u -r1.3 patch-ac
--- amanda-plot/patches/patch-ac 26 Jun 2001 03:14:12 -0000 1.3
+++ amanda-plot/patches/patch-ac 24 Feb 2004 16:36:53 -0000
@@ -1,13 +1,15 @@
-$NetBSD: patch-ac,v 1.3 2001/06/26 03:14:12 christos Exp $
-
---- man/Makefile.in.orig Tue Apr 3 15:55:45 2001
-+++ man/Makefile.in Mon Jun 25 23:02:22 2001
-@@ -159,7 +159,7 @@
+--- man/Makefile.in.orig 2004-01-08 10:23:42.000000000 -0800
++++ man/Makefile.in 2004-02-24 08:15:51.000000000 -0800
+@@ -188,11 +188,7 @@
# not autoconf-generated:
- EXTRA_DIST = amplot.8 amrestore.8 amtape.8
+ EXTRA_DIST = amplot.8 amrestore.8 amtape.8 amdd.8 ammt.8
--man_MANS = $(AMPLOT_MAN_PAGES) $(COMMON_MAN_PAGES) $(SERVER_MAN_PAGES) $(RECOVER_MAN_PAGES) $(RESTORE_MAN_PAGES)
+-man_MANS = $(AMPLOT_MAN_PAGES) \
+- $(COMMON_MAN_PAGES) \
+- $(SERVER_MAN_PAGES) \
+- $(RECOVER_MAN_PAGES) \
+- $(RESTORE_MAN_PAGES)
+man_MANS = $(AMPLOT_MAN_PAGES)
+ subdir = man
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
- CONFIG_HEADER = ../config/config.h
cvs diff: Diffing amanda-server
Index: amanda-server/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- amanda-server/Makefile 24 Jan 2004 15:06:57 -0000 1.26
+++ amanda-server/Makefile 24 Feb 2004 16:36:53 -0000
@@ -2,8 +2,8 @@
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
-DISTNAME= amanda-2.4.2p2
-PKGNAME= amanda-server-2.4.2p2
+DISTNAME= amanda-2.4.4p2
+PKGNAME= amanda-server-2.4.4p2
SVR4_PKGNAME= amase
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
Index: amanda-server/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- amanda-server/PLIST 31 Oct 2001 22:52:50 -0000 1.1
+++ amanda-server/PLIST 24 Feb 2004 16:36:53 -0000
@@ -1,5 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:52:50 zuntum Exp $
-lib/libamserver-2.4.2p2.so
+lib/libamserver-2.4.4p2.so
lib/libamserver.a
lib/libamserver.la
lib/libamserver.so
@@ -53,17 +53,20 @@
sbin/amtape
sbin/amtoc
sbin/amverify
-share/doc/amanda/COPYRIGHT
-share/doc/amanda/COPYRIGHT-APACHE
-share/doc/amanda/COPYRIGHT-REGEX
share/doc/amanda/DUMPER-API
+share/doc/amanda/EXCLUDE
share/doc/amanda/FAQ
+share/doc/amanda/HOWTO-AFS
+share/doc/amanda/HOWTO-CYGWIN.html
+share/doc/amanda/HOWTO-FILE-DRIVER
share/doc/amanda/INDEXING
share/doc/amanda/INSTALL
share/doc/amanda/INTERNALS
share/doc/amanda/KERBEROS
share/doc/amanda/LABEL.PRINTING
share/doc/amanda/MULTITAPE
+share/doc/amanda/PORT.USAGE
+share/doc/amanda/RAIT
share/doc/amanda/RESTORE
share/doc/amanda/SAMBA
share/doc/amanda/SECURITY
@@ -71,10 +74,12 @@
share/doc/amanda/TAPE.CHANGERS
share/doc/amanda/TAPETYPES
share/doc/amanda/UPGRADE
+share/doc/amanda/VTAPE-API
share/doc/amanda/WHATS.NEW
share/doc/amanda/WISHLIST
share/doc/amanda/YEAR2000
share/doc/amanda/ZFTAPE
+share/doc/amanda/chg-scsi.notes
share/examples/amanda/3hole.ps
share/examples/amanda/8.5x11.ps
share/examples/amanda/DIN-A4.ps
@@ -83,6 +88,7 @@
share/examples/amanda/HP-DAT.ps
share/examples/amanda/amanda.conf
share/examples/amanda/amanda.conf.chg-scsi
+share/examples/amanda/chg-mcutil.conf
share/examples/amanda/chg-multi.conf
share/examples/amanda/chg-scsi.conf
share/examples/amanda/config.site
Index: amanda-server/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- amanda-server/distinfo 6 Jun 2002 01:38:41 -0000 1.4
+++ amanda-server/distinfo 24 Feb 2004 16:36:53 -0000
@@ -1,19 +1,15 @@
$NetBSD: distinfo,v 1.4 2002/06/06 01:38:41 simonb Exp $
-SHA1 (amanda-2.4.2p2.tar.gz) = 721060b1357e9b939d06773f91a20de1d507521b
-Size (amanda-2.4.2p2.tar.gz) = 922404 bytes
-SHA1 (patch-aa) = a9ffd6acad2c01da0f4707575ec311a5280bf48d
-SHA1 (patch-ab) = 8d99598899b52c9d99994ed831021648fff8a5f9
-SHA1 (patch-ac) = c353f92d692813b81858d55cf55fa28a9ee98355
-SHA1 (patch-ad) = 0ad5ec57b29948ea5b15a43ae2e7a4d3be2a2d40
-SHA1 (patch-ae) = fd831036b9ac3365d304d9e25c0eb1dd515a849e
-SHA1 (patch-af) = af41269882c8dfdb45bc177a45aa86122443d8df
-SHA1 (patch-ag) = 4397a7c6bde844d80781e1ffd8fb81c289e92fe0
-SHA1 (patch-ah) = ba156adca49704c23d04601c98ed14f3e0b206c1
-SHA1 (patch-ai) = 977d9249db26ecc26bdc0ebf3bd86131132ccda4
-SHA1 (patch-aj) = 912ec89bf8cca2f602a90621dfd818d21145f02b
-SHA1 (patch-ak) = d5036ee96d05dce8091209130da1747f0d6e5867
-SHA1 (patch-al) = 44b239e7ecff95472f012a6ee6ac6f5d8a41b62c
-SHA1 (patch-ba) = 7c2b47e1239bc2d0e31f8336a85ea058d8fb07b4
-SHA1 (patch-bb) = c8c91b848e669f2ccd3a753cfa7aba64e47d2166
-SHA1 (patch-bc) = a4268be6e5d70963f111de2a58d59417c2b33a0a
+SHA1 (amanda-2.4.4p2.tar.gz) = c14510260941a3915f4068e6b7e3f91698ab099e
+Size (amanda-2.4.4p2.tar.gz) = 1263075 bytes
+SHA1 (patch-aa) = af41269882c8dfdb45bc177a45aa86122443d8df
+SHA1 (patch-ab) = 287e1e52f9c50aa808ed1706a8cd71804947f392
+SHA1 (patch-ac) = acc9b6690e8022208eeb013eccf09383fb04ac30
+SHA1 (patch-ad) = 871aadb1bee746e4280c5fb09194be461154e34b
+SHA1 (patch-ae) = 94ea0bb3342fc2fb7b42fd09075b8c6f662b0de3
+SHA1 (patch-af) = 5fb84ff969f54235fd2e42aa1924569feca70c79
+SHA1 (patch-ag) = 8e727962d9afe6d93dbd24e7bb085643ca99eb33
+SHA1 (patch-ah) = 788b26393d0dcc2efa37cdc84df240a17277a417
+SHA1 (patch-ai) = c08627c1ac945e621a330703d59b97de79a83811
+SHA1 (patch-aj) = 87ca0a886e4d56502c9affc8a8ad3bb06eff95cc
+SHA1 (patch-ak) = b9dd30e82f1c9dec33589bc551cf983c0159469c
cvs diff: Diffing amanda-server/patches
Index: amanda-server/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- amanda-server/patches/patch-aa 16 Jan 2001 21:59:39 -0000 1.4
+++ amanda-server/patches/patch-aa 24 Feb 2004 16:36:53 -0000
@@ -1,32 +1,165 @@
-$NetBSD: patch-aa,v 1.4 2001/01/16 21:59:39 cjones Exp $
+$NetBSD: patch-af,v 1.4 2001/01/16 21:59:40 cjones Exp $
---- configure.orig Sat Nov 25 06:59:40 2000
-+++ configure Mon Jan 15 14:08:27 2001
-@@ -3268,6 +3268,7 @@
- done
-
-
-+if false ;then
- for ac_prog in gnuplot
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-@@ -3307,6 +3308,8 @@
-
- test -n "$GNUPLOT" && break
- done
-+fi
-+GNUPLOT=""
-
- if test -z "$GNUPLOT"; then
- NO_AMPLOT_MODE=true
-@@ -4924,8 +4927,10 @@
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
-
-+if false; then
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+fi
+--- changer-src/scsi-chio.c.orig Thu Jun 17 12:33:19 1999
++++ changer-src/scsi-chio.c Thu Jan 11 13:01:33 2001
+@@ -121,25 +121,41 @@
+ */
+ int isempty(int fd, int slot)
+ {
++#if defined(OCHIOGSTATUS)
++struct ochanger_element_status_request cesr;
++#else
+ struct changer_element_status ces;
++#endif
++
+ int i,rc;
+ int type=CHET_ST;
+
+ get_changer_info(fd);
+
++#if defined(OCHIOGSTATUS)
++ cesr.cesr_type = type;
++ cesr.cesr_data = malloc(changer_info.cp_nslots);
++ rc = ioctl(fd, OCHIOGSTATUS, &cesr);
++#else
+ ces.ces_type = type;
+ ces.ces_data = malloc(changer_info.cp_nslots);
+-
+ rc = ioctl(fd, CHIOGSTATUS, &ces);
++#endif
++
+ if (rc) {
+ dbprintf(("%s: changer status query failed: 0x%x %s\n",
+ get_pname(), rc,strerror(errno)));
+ return -1;
+ }
+
++#if defined(OCHIOGSTATUS)
++ i = cesr.cesr_data[slot] & CESTATUS_FULL;
++ free(cesr.cesr_data);
++#else
+ i = ces.ces_data[slot] & CESTATUS_FULL;
+-
+ free(ces.ces_data);
++#endif
++
+ return !i;
+ }
+
+@@ -148,16 +164,27 @@
+ */
+ int find_empty(int fd, int start, int count)
+ {
++#if defined(OCHIOGSTATUS)
++struct ochanger_element_status_request cesr;
++#else
+ struct changer_element_status ces;
++#endif
++
+ int i,rc;
+ int type=CHET_ST;
+
+ get_changer_info(fd);
+
++#if defined(OCHIOGSTATUS)
++ cesr.cesr_type = type;
++ cesr.cesr_data = malloc(changer_info.cp_nslots);
++ rc = ioctl(fd, OCHIOGSTATUS, &cesr);
++#else
+ ces.ces_type = type;
+ ces.ces_data = malloc(changer_info.cp_nslots);
++ rc = ioctl(fd, CHIOGSTATUS, &ces);
++#endif
+
+- rc = ioctl(fd,CHIOGSTATUS,&ces);
+ if (rc) {
+ dbprintf(("%s: changer status query failed: 0x%x %s\n",
+ get_pname(), rc, strerror(errno)));
+@@ -165,9 +192,17 @@
+ }
+
+ i = 0;
++
++#if defined(OCHIOGSTATUS)
++ while ((i < changer_info.cp_nslots)&&(cesr.cesr_data[i] & CESTATUS_FULL))
++ i++;
++ free(cesr.cesr_data);
++#else
+ while ((i < changer_info.cp_nslots)&&(ces.ces_data[i] & CESTATUS_FULL))
+ i++;
+ free(ces.ces_data);
++#endif
++
+ return i;
+ }
+
+@@ -176,25 +211,41 @@
+ */
+ int drive_loaded(int fd, int drivenum)
+ {
++#if defined(OCHIOGSTATUS)
++struct ochanger_element_status_request cesr;
++#else
+ struct changer_element_status ces;
++#endif
++
+ int i,rc;
+ int type=CHET_DT;
+
+ get_changer_info(fd);
+
++#if defined(OCHIOGSTATUS)
++ cesr.cesr_type = type;
++ cesr.cesr_data = malloc(changer_info.cp_ndrives);
++ rc = ioctl(fd, OCHIOGSTATUS, &cesr);
++#else
+ ces.ces_type = type;
+ ces.ces_data = malloc(changer_info.cp_ndrives);
+-
+ rc = ioctl(fd, CHIOGSTATUS, &ces);
++#endif
++
+ if (rc) {
+ dbprintf(("%s: drive status query failed: 0x%x %s\n",
+ get_pname(), rc, strerror(errno)));
+ return -1;
+ }
+
++#if defined(OCHIOGSTATUS)
++ i = (cesr.cesr_data[drivenum] & CESTATUS_FULL);
++ free(cesr.cesr_data);
++#else
+ i = (ces.ces_data[drivenum] & CESTATUS_FULL);
+-
+ free(ces.ces_data);
++#endif
++
+ return i;
+ }
+
+@@ -204,7 +255,12 @@
+ */
+ int unload(int fd, int drive, int slot)
+ {
++#if defined(OCHIOGSTATUS)
++struct changer_move_request move;
++#else
+ struct changer_move move;
++#endif
++
+ int rc;
+
+ dbprintf(("unload : fd = %d, drive = %d, slot =%d\n",fd, drive, slot));
+@@ -230,7 +286,12 @@
+ */
+ int load(int fd, int drive, int slot)
+ {
++#if defined(OCHIOGSTATUS)
++struct changer_move_request move;
++#else
+ struct changer_move move;
++#endif
++
+ int rc;
- # Redirect the config.log output again, so that the ltconfig log is not
- # clobbered by the next message.
+ dbprintf(("load : fd = %d, drive = %d, slot =%d\n",fd, drive, slot));
Index: amanda-server/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ab,v
retrieving revision 1.5
diff -u -r1.5 patch-ab
--- amanda-server/patches/patch-ab 26 Jun 2001 03:14:12 -0000 1.5
+++ amanda-server/patches/patch-ab 24 Feb 2004 16:36:54 -0000
@@ -1,29 +1,29 @@
-$NetBSD: patch-ab,v 1.5 2001/06/26 03:14:12 christos Exp $
-
---- Makefile.in.orig Tue Apr 3 15:55:47 2001
-+++ Makefile.in Mon Jun 25 22:42:55 2001
-@@ -34,7 +34,7 @@
-
- DESTDIR =
-
+--- 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
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/doc/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
-
-@@ -151,13 +151,13 @@
+ top_builddir = .
+@@ -160,7 +160,7 @@
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
- # 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
-+SUBDIRS = config $(CLIENT_SUBDIRS) $(TAPE_SUBDIRS) $(SERVER_SUBDIRS) $(RESTORE_SUBDIRS) $(RECOVER_SUBDIRS) $(PLOT_SUBDIRS) man docs example
-
+ @WANT_RESTORE_TRUE@RESTORE_SUBDIRS = restore-src
+ @WANT_RECOVER_TRUE@RECOVER_SUBDIRS = recover-src
+@@ -506,7 +506,7 @@
+ uninstall: uninstall-recursive
+
+ install-am: all-am
+- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am
- pkgdata_DATA = COPYRIGHT COPYRIGHT-APACHE COPYRIGHT-REGEX
+ installcheck: installcheck-recursive
+ install-strip:
Index: amanda-server/patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ac,v
retrieving revision 1.5
diff -u -r1.5 patch-ac
--- amanda-server/patches/patch-ac 16 Jan 2001 21:59:39 -0000 1.5
+++ amanda-server/patches/patch-ac 24 Feb 2004 16:36:54 -0000
@@ -1,19 +1,29 @@
-$NetBSD: patch-ac,v 1.5 2001/01/16 21:59:39 cjones Exp $
-
---- example/amanda.conf.chg-scsi.in~ Thu Jun 17 12:33:43 1999
-+++ example/amanda.conf.chg-scsi.in Mon Jan 15 14:26:31 2001
-@@ -153,10 +153,10 @@
- # Note that, although the keyword below is infofile, it is only so for
- # historic reasons, since now it is supposed to be a directory (unless
- # you have selected some database format other than the `text' default)
--infofile "/usr/adm/amanda/@DEFAULT_CONFIG@/curinfo" # database DIRECTORY
--logdir "/usr/adm/amanda/@DEFAULT_CONFIG@" # log directory
--indexdir "/usr/adm/amanda/@DEFAULT_CONFIG@/index" # index directory
--#tapelist "/usr/adm/amanda/@DEFAULT_CONFIG@/tapelist" # list of used tapes
-+infofile "@localstatedir@/@DEFAULT_CONFIG@/curinfo" # database DIRECTORY
-+logdir "@localstatedir@/@DEFAULT_CONFIG@" # log directory
-+indexdir "@localstatedir@/@DEFAULT_CONFIG@/index" # index directory
-+#tapelist "@localstatedir@/@DEFAULT_CONFIG@/tapelist" # list of used tapes
- # tapelist is stored, by default, in the directory that contains amanda.conf
+--- 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
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(datadir)/examples/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
+@@ -278,7 +278,16 @@
+ info-am:
+
+-install-data-am:
++install-data-am: $(noinst_DATA) $(EXTRA_DIST)
++ @$(NORMAL_INSTALL)
++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
++ @list='$(noinst_DATA) $(EXTRA_DIST)'; for p in $$list; do \
++ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
++ f="`echo $$p | sed -e 's|^.*/||'`"; \
++ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
++ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
++ done
++
+
+ install-exec-am:
Index: amanda-server/patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ad,v
retrieving revision 1.6
diff -u -r1.6 patch-ad
--- amanda-server/patches/patch-ad 26 Jun 2001 03:14:12 -0000 1.6
+++ amanda-server/patches/patch-ad 24 Feb 2004 16:36:54 -0000
@@ -1,173 +1,11 @@
-$NetBSD: patch-ad,v 1.6 2001/06/26 03:14:12 christos Exp $
-
---- server-src/Makefile.in.orig Tue Apr 3 15:55:46 2001
-+++ server-src/Makefile.in Mon Jun 25 22:49:20 2001
-@@ -175,7 +175,7 @@
- # 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
-@@ -210,7 +210,7 @@
- DEFS = @DEFS@ -I. -I$(srcdir) -I../config
- CPPFLAGS = @CPPFLAGS@
- LDFLAGS = @LDFLAGS@
--LIBS = @LIBS@
-+LIBS = @LIBS@ -lamtape -lamanda
- libamserver_a_LIBADD =
- libamserver_a_OBJECTS = amindex.$(OBJEXT) changer.$(OBJEXT) \
- clock.$(OBJEXT) conffile.$(OBJEXT) diskfile.$(OBJEXT) \
-@@ -232,131 +232,93 @@
-
- diskfile_OBJECTS = diskfile.test.$(OBJEXT)
- diskfile_LDADD = $(LDADD)
--diskfile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+diskfile_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- diskfile_LDFLAGS =
- conffile_OBJECTS = conffile.test.$(OBJEXT)
- conffile_LDADD = $(LDADD)
--conffile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+conffile_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- conffile_LDFLAGS =
- infofile_OBJECTS = infofile.test.$(OBJEXT)
- infofile_LDADD = $(LDADD)
--infofile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+infofile_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- infofile_LDFLAGS =
- amindexd_OBJECTS = amindexd.$(OBJEXT) disk_history.$(OBJEXT) \
- list_dir.$(OBJEXT)
- amindexd_LDADD = $(LDADD)
--amindexd_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amindexd_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amindexd_LDFLAGS =
- amlogroll_SOURCES = amlogroll.c
- amlogroll_OBJECTS = amlogroll.$(OBJEXT)
- amlogroll_LDADD = $(LDADD)
--amlogroll_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amlogroll_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amlogroll_LDFLAGS =
- amtrmidx_SOURCES = amtrmidx.c
- amtrmidx_OBJECTS = amtrmidx.$(OBJEXT)
- amtrmidx_LDADD = $(LDADD)
--amtrmidx_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../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)
--amtrmlog_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amtrmlog_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amtrmlog_LDFLAGS =
- driver_SOURCES = driver.c
- driver_OBJECTS = driver.$(OBJEXT)
- driver_LDADD = $(LDADD)
--driver_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../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)
--dumper_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+dumper_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- dumper_LDFLAGS =
- planner_SOURCES = planner.c
- planner_OBJECTS = planner.$(OBJEXT)
- planner_LDADD = $(LDADD)
--planner_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../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)
--taper_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+taper_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- taper_LDFLAGS =
- amcleanupdisk_SOURCES = amcleanupdisk.c
- amcleanupdisk_OBJECTS = amcleanupdisk.$(OBJEXT)
- amcleanupdisk_LDADD = $(LDADD)
--amcleanupdisk_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amcleanupdisk_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amcleanupdisk_LDFLAGS =
- amadmin_SOURCES = amadmin.c
- amadmin_OBJECTS = amadmin.$(OBJEXT)
- amadmin_LDADD = $(LDADD)
--amadmin_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../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)
--amcheck_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amcheck_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amcheck_LDFLAGS =
- amflush_SOURCES = amflush.c
- amflush_OBJECTS = amflush.$(OBJEXT)
- amflush_LDADD = $(LDADD)
--amflush_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amflush_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amflush_LDFLAGS =
- amgetconf_OBJECTS = getconf.$(OBJEXT)
- amgetconf_LDADD = $(LDADD)
--amgetconf_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amgetconf_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amgetconf_LDFLAGS =
- amlabel_SOURCES = amlabel.c
- amlabel_OBJECTS = amlabel.$(OBJEXT)
- amlabel_LDADD = $(LDADD)
--amlabel_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amlabel_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amlabel_LDFLAGS =
- amtape_SOURCES = amtape.c
- amtape_OBJECTS = amtape.$(OBJEXT)
- amtape_LDADD = $(LDADD)
--amtape_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amtape_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amtape_LDFLAGS =
- amreport_OBJECTS = reporter.$(OBJEXT)
- amreport_LDADD = $(LDADD)
--amreport_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amreport_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
- amreport_LDFLAGS =
- SCRIPTS = $(sbin_SCRIPTS)
-
+--- 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
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = $(datadir)/doc/@PACKAGE@
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..
Index: amanda-server/patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ae,v
retrieving revision 1.5
diff -u -r1.5 patch-ae
--- amanda-server/patches/patch-ae 26 Jun 2001 03:14:12 -0000 1.5
+++ amanda-server/patches/patch-ae 24 Feb 2004 16:36:54 -0000
@@ -1,27 +1,18 @@
-$NetBSD: patch-ae,v 1.5 2001/06/26 03:14:12 christos Exp $
-
---- changer-src/Makefile.in.orig Tue Apr 3 15:55:43 2001
-+++ changer-src/Makefile.in Mon Jun 25 22:51:37 2001
-@@ -163,7 +163,7 @@
- # routines, and second to pick up any references in the other libraries.
- ###
+--- changer-src/scsi-changer-driver.c.orig 2003-01-26 11:20:56.000000000 -0800
++++ changer-src/scsi-changer-driver.c 2004-02-23 08:44:56.000000000 -0800
+@@ -1358,13 +1358,14 @@
+ {
+ int ret = 0;
+ extern OpenFiles_T *pDev;
++ extern changer_t chg; /* Needed for the infos about havebarcode */
--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)
+ DebugPrint(DEBUG_INFO, SECTION_BARCODE,"##### START BarCode\n");
+ DebugPrint(DEBUG_INFO, SECTION_BARCODE,"%-20s : fd %d\n", "BarCode", fd);
-
- SUFFIXES = .pl .sh
-@@ -191,11 +191,8 @@
- scsi-irix.$(OBJEXT) scsi-linux.$(OBJEXT) scsi-solaris.$(OBJEXT) \
- scsi-bsd.$(OBJEXT)
- chg_scsi_LDADD = $(LDADD)
--chg_scsi_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--../server-src/libamserver.$(LIB_EXTENSION) \
--../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
--chg_scsi_LDFLAGS =
-+chg_scsi_DEPENDENCIES = ../server-src/libamserver.$(LIB_EXTENSION)
-+chg_scsi_LDFLAGS = -lamanda -lamtape
- chg_scsi_chio_OBJECTS = chg-scsi-chio.$(OBJEXT) scsi-hpux.$(OBJEXT) \
- scsi-chio.$(OBJEXT)
- chg_scsi_chio_LDADD = $(LDADD)
+ DebugPrint(DEBUG_INFO, SECTION_BARCODE,"Ident = [%s], function = [%s]\n", pDev[fd].ident,
+ pDev[fd].functions->ident);
+- ret = pDev[fd].functions->function_barcode(fd);
++ ret = (pDev[fd].functions->function_barcode(fd) | chg.havebarcode);
+ DebugPrint(DEBUG_INFO, SECTION_BARCODE,"##### STOP BarCode (%d)\n",ret);
+ return(ret);
+ }
Index: amanda-server/patches/patch-af
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-af,v
retrieving revision 1.4
diff -u -r1.4 patch-af
--- amanda-server/patches/patch-af 16 Jan 2001 21:59:40 -0000 1.4
+++ amanda-server/patches/patch-af 24 Feb 2004 16:36:54 -0000
@@ -1,165 +1,58 @@
-$NetBSD: patch-af,v 1.4 2001/01/16 21:59:40 cjones Exp $
-
---- changer-src/scsi-chio.c.orig Thu Jun 17 12:33:19 1999
-+++ changer-src/scsi-chio.c Thu Jan 11 13:01:33 2001
-@@ -121,25 +121,41 @@
- */
- int isempty(int fd, int slot)
- {
-+#if defined(OCHIOGSTATUS)
-+struct ochanger_element_status_request cesr;
-+#else
- struct changer_element_status ces;
-+#endif
-+
- int i,rc;
- int type=CHET_ST;
-
- get_changer_info(fd);
-
-+#if defined(OCHIOGSTATUS)
-+ cesr.cesr_type = type;
-+ cesr.cesr_data = malloc(changer_info.cp_nslots);
-+ rc = ioctl(fd, OCHIOGSTATUS, &cesr);
-+#else
- ces.ces_type = type;
- ces.ces_data = malloc(changer_info.cp_nslots);
--
- rc = ioctl(fd, CHIOGSTATUS, &ces);
-+#endif
-+
- if (rc) {
- dbprintf(("%s: changer status query failed: 0x%x %s\n",
- get_pname(), rc,strerror(errno)));
- return -1;
- }
-
-+#if defined(OCHIOGSTATUS)
-+ i = cesr.cesr_data[slot] & CESTATUS_FULL;
-+ free(cesr.cesr_data);
-+#else
- i = ces.ces_data[slot] & CESTATUS_FULL;
--
- free(ces.ces_data);
-+#endif
-+
- return !i;
- }
-
-@@ -148,16 +164,27 @@
- */
- int find_empty(int fd, int start, int count)
- {
-+#if defined(OCHIOGSTATUS)
-+struct ochanger_element_status_request cesr;
-+#else
- struct changer_element_status ces;
-+#endif
-+
- int i,rc;
- int type=CHET_ST;
-
- get_changer_info(fd);
-
-+#if defined(OCHIOGSTATUS)
-+ cesr.cesr_type = type;
-+ cesr.cesr_data = malloc(changer_info.cp_nslots);
-+ rc = ioctl(fd, OCHIOGSTATUS, &cesr);
-+#else
- ces.ces_type = type;
- ces.ces_data = malloc(changer_info.cp_nslots);
-+ rc = ioctl(fd, CHIOGSTATUS, &ces);
-+#endif
-
-- rc = ioctl(fd,CHIOGSTATUS,&ces);
- if (rc) {
- dbprintf(("%s: changer status query failed: 0x%x %s\n",
- get_pname(), rc, strerror(errno)));
-@@ -165,9 +192,17 @@
- }
-
- i = 0;
-+
-+#if defined(OCHIOGSTATUS)
-+ while ((i < changer_info.cp_nslots)&&(cesr.cesr_data[i] & CESTATUS_FULL))
-+ i++;
-+ free(cesr.cesr_data);
-+#else
- while ((i < changer_info.cp_nslots)&&(ces.ces_data[i] & CESTATUS_FULL))
- i++;
- free(ces.ces_data);
-+#endif
-+
- return i;
- }
-
-@@ -176,25 +211,41 @@
- */
- int drive_loaded(int fd, int drivenum)
- {
-+#if defined(OCHIOGSTATUS)
-+struct ochanger_element_status_request cesr;
-+#else
- struct changer_element_status ces;
-+#endif
-+
- int i,rc;
- int type=CHET_DT;
-
- get_changer_info(fd);
-
-+#if defined(OCHIOGSTATUS)
-+ cesr.cesr_type = type;
-+ cesr.cesr_data = malloc(changer_info.cp_ndrives);
-+ rc = ioctl(fd, OCHIOGSTATUS, &cesr);
-+#else
- ces.ces_type = type;
- ces.ces_data = malloc(changer_info.cp_ndrives);
--
- rc = ioctl(fd, CHIOGSTATUS, &ces);
-+#endif
-+
- if (rc) {
- dbprintf(("%s: drive status query failed: 0x%x %s\n",
- get_pname(), rc, strerror(errno)));
- return -1;
- }
-
-+#if defined(OCHIOGSTATUS)
-+ i = (cesr.cesr_data[drivenum] & CESTATUS_FULL);
-+ free(cesr.cesr_data);
-+#else
- i = (ces.ces_data[drivenum] & CESTATUS_FULL);
--
- free(ces.ces_data);
-+#endif
-+
- return i;
- }
-
-@@ -204,7 +255,12 @@
- */
- int unload(int fd, int drive, int slot)
- {
-+#if defined(OCHIOGSTATUS)
-+struct changer_move_request move;
-+#else
- struct changer_move move;
-+#endif
-+
- int rc;
-
- dbprintf(("unload : fd = %d, drive = %d, slot =%d\n",fd, drive, slot));
-@@ -230,7 +286,12 @@
- */
- int load(int fd, int drive, int slot)
- {
-+#if defined(OCHIOGSTATUS)
-+struct changer_move_request move;
-+#else
- struct changer_move move;
-+#endif
-+
- int rc;
+--- tape-src/Makefile.in.orig 2004-01-08 10:22:46.000000000 -0800
++++ tape-src/Makefile.in 2004-02-23 14:04:18.000000000 -0800
+@@ -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
- dbprintf(("load : fd = %d, drive = %d, slot =%d\n",fd, drive, slot));
+
+
+@@ -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 @@
+ amdd_SOURCES = amdd.c
+ amdd_OBJECTS = amdd.$(OBJEXT)
+ amdd_LDADD = $(LDADD)
+-amdd_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- 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 =
+ 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 =
+ 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 =
+
+ DEFS = @DEFS@
Index: amanda-server/patches/patch-ag
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ag,v
retrieving revision 1.3
diff -u -r1.3 patch-ag
--- amanda-server/patches/patch-ag 4 Sep 1999 01:19:50 -0000 1.3
+++ amanda-server/patches/patch-ag 24 Feb 2004 16:36:54 -0000
@@ -1,23 +1,39 @@
-$NetBSD: patch-ag,v 1.3 1999/09/04 01:19:50 bad Exp $
-
---- example/chg-scsi.conf.old Tue Feb 23 16:44:39 1999
-+++ example/chg-scsi.conf Tue Feb 23 16:46:38 1999
-@@ -2,6 +2,8 @@
- number_configs 2
- eject 1 # Tapedrives need an eject command
- sleep 5 # Seconds to wait until the tape gets ready
-+ # The driver first sleeps for <sleep>/2 seconds,
-+ # then pool the drive every seconds.
- cleanmax 10 # How many times could a cleaning tape get used
- changerdev /dev/sch0
- #
-@@ -13,7 +15,8 @@
- startuse 0 # The slots associated with the drive 0
- enduse 9 #
- statfile /usr/local/etc/amanda/tape5-slot # The file where the actual slot is stored
--cleancart 20 # the slot where the cleaningcartridge for drive 0 is located
-+cleancart -1 # the slot where the cleaningcartridge for drive 0 is
-+ # located. -1 means none.
- cleanfile /usr/local/etc/amanda/tape0-clean # The file where the cleanings are recorded
- usagecount /usr/local/etc/amanda/backup/totaltime
+--- 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 @@
+ done
+ check-am: all-am
+ check: check-am
+-all-am: Makefile $(LTLIBRARIES) $(HEADERS)
++all-am: Makefile genversion.h
+
+ installdirs:
+- $(mkinstalldirs) $(DESTDIR)$(libdir)
+
+ install: install-am
+ install-exec: install-exec-am
+ install-data: install-data-am
+ uninstall: uninstall-am
+
+-install-am: all-am
+- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++install-am:
+
+ installcheck: installcheck-am
+ install-strip:
+- $(MAKE) $(AM_MAKEFLAGS) INSTALL_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 @@
+
+ install-data-am:
+
+-install-exec-am: install-libLTLIBRARIES
++install-exec-am:
+
+ install-info: install-info-am
Index: amanda-server/patches/patch-ah
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ah,v
retrieving revision 1.4
diff -u -r1.4 patch-ah
--- amanda-server/patches/patch-ah 16 Jan 2001 21:59:40 -0000 1.4
+++ amanda-server/patches/patch-ah 24 Feb 2004 16:36:56 -0000
@@ -1,30 +1,198 @@
-$NetBSD: patch-ah,v 1.4 2001/01/16 21:59:40 cjones Exp $
-
---- example/amanda.conf.in.orig Tue Nov 7 18:44:50 2000
-+++ example/amanda.conf.in Mon Jan 15 14:19:56 2001
-@@ -71,8 +71,8 @@
- tpchanger "chg-manual" # the tape-changer glue script
- tapedev "@DEFAULT_TAPE_DEVICE@" # the no-rewind tape device to be used
- rawtapedev "@DEFAULT_RAW_TAPE_DEVICE@" # the raw device to be used (ftape only)
--changerfile "/usr/adm/amanda/@DEFAULT_CONFIG@/changer"
--changerfile "/usr/adm/amanda/@DEFAULT_CONFIG@/changer-status"
-+changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer"
-+changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer-status"
- changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
- changerdev "@DEFAULT_CHANGER_DEVICE@"
+--- 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)
-@@ -159,10 +159,10 @@
- # Note that, although the keyword below is infofile, it is only so for
- # historic reasons, since now it is supposed to be a directory (unless
- # you have selected some database format other than the `text' default)
--infofile "/usr/adm/amanda/@DEFAULT_CONFIG@/curinfo" # database DIRECTORY
--logdir "/usr/adm/amanda/@DEFAULT_CONFIG@" # log directory
--indexdir "/usr/adm/amanda/@DEFAULT_CONFIG@/index" # index directory
--#tapelist "/usr/adm/amanda/@DEFAULT_CONFIG@/tapelist" # list of used tapes
-+infofile "@localstatedir@/@DEFAULT_CONFIG@/curinfo" # database DIRECTORY
-+logdir "@localstatedir@/@DEFAULT_CONFIG@" # log directory
-+indexdir "@localstatedir@/@DEFAULT_CONFIG@/index" # index directory
-+#tapelist "@localstatedir@/@DEFAULT_CONFIG@/tapelist" # list of used tapes
- # tapelist is stored, by default, in the directory that contains amanda.conf
+ SUFFIXES = .sh .pl
+@@ -259,155 +256,98 @@
+ amadmin_SOURCES = amadmin.c
+ amadmin_OBJECTS = amadmin.$(OBJEXT)
+ amadmin_LDADD = $(LDADD)
+-amadmin_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amcheck_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amcleanupdisk_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amflush_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amgetconf_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+ amindexd_LDADD = $(LDADD)
+-amindexd_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amlabel_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amlogroll_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amreport_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amtape_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amtrmidx_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-amtrmlog_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-conffile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-diskfile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-driver_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-dumper_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-infofile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-planner_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../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)
+-taper_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- libamserver.$(LIB_EXTENSION) \
+- ../tape-src/libamtape.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++taper_DEPENDENCIES = libamserver.$(LIB_EXTENSION)
+ taper_LDFLAGS =
+ SCRIPTS = $(sbin_SCRIPTS)
+@@ -416,7 +356,7 @@
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-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 \
Index: amanda-server/patches/patch-ai
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ai,v
retrieving revision 1.4
diff -u -r1.4 patch-ai
--- amanda-server/patches/patch-ai 26 Jun 2001 03:14:12 -0000 1.4
+++ amanda-server/patches/patch-ai 24 Feb 2004 16:36:56 -0000
@@ -1,32 +1,36 @@
-$NetBSD: patch-ai,v 1.4 2001/06/26 03:14:12 christos Exp $
-
---- restore-src/Makefile.in.orig Tue Apr 3 15:55:46 2001
-+++ restore-src/Makefile.in Mon Jun 25 22:53:37 2001
-@@ -160,7 +160,7 @@
+--- 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)
--LDADD = ../common-src/libamanda.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) ../common-src/libamanda.$(LIB_EXTENSION)
-+LDADD = -lamtape -lamanda
+ SUFFIXES = .pl .sh
+@@ -213,19 +210,13 @@
+ scsi-bsd.$(OBJEXT) scsi-cam.$(OBJEXT) sense.$(OBJEXT)
+ chg_scsi_OBJECTS = $(am_chg_scsi_OBJECTS)
+ chg_scsi_LDADD = $(LDADD)
+-chg_scsi_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- ../server-src/libamserver.$(LIB_EXTENSION) \
+- ../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)
+ chg_scsi_chio_LDADD = $(LDADD)
+-chg_scsi_chio_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
+- ../server-src/libamserver.$(LIB_EXTENSION) \
+- ../tape-src/libamtape.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++chg_scsi_chio_DEPENDENCIES = ../server-src/libamserver.$(LIB_EXTENSION)
+ chg_scsi_chio_LDFLAGS =
+ SCRIPTS = $(libexec_SCRIPTS)
- amidxtaped_SOURCES = amidxtaped.c
-@@ -178,16 +178,12 @@
- LIBS = @LIBS@
- amidxtaped_OBJECTS = amidxtaped.$(OBJEXT)
- amidxtaped_LDADD = $(LDADD)
--amidxtaped_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
--../tape-src/libamtape.$(LIB_EXTENSION) \
--../common-src/libamanda.$(LIB_EXTENSION)
-+amidxtaped_DEPENDENCIES =
- 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 =
- CFLAGS = @CFLAGS@
- COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
Index: amanda-server/patches/patch-aj
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-aj,v
retrieving revision 1.1
diff -u -r1.1 patch-aj
--- amanda-server/patches/patch-aj 16 Jan 2001 21:59:40 -0000 1.1
+++ amanda-server/patches/patch-aj 24 Feb 2004 16:36:56 -0000
@@ -1,31 +1,41 @@
-$NetBSD: patch-aj,v 1.1 2001/01/16 21:59:40 cjones Exp $
-
---- example/Makefile.in.orig Sat Nov 25 07:02:02 2000
-+++ example/Makefile.in Mon Jan 15 15:33:47 2001
-@@ -33,7 +33,7 @@
+--- 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 @@
+ # 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) \
+- ../tape-src/libamtape.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++LDADD = -lamtape -lamanda
- DESTDIR =
--pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(datadir)/examples/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
+ amidxtaped_SOURCES = amidxtaped.c
+-amidxtaped_LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \
+- ../server-src/libamserver.$(LIB_EXTENSION) \
+- ../tape-src/libamtape.$(LIB_EXTENSION) \
+- ../common-src/libamanda.$(LIB_EXTENSION)
++amidxtaped_LDADD = ../server-src/libamserver.$(LIB_EXTENSION)
-@@ -216,7 +216,16 @@
- install-exec-am:
- install-exec: install-exec-am
+ subdir = restore-src
+ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+@@ -191,17 +186,12 @@
--install-data-am:
-+install-data-am: $(noinst_DATA) $(EXTRA_DIST)
-+ @$(NORMAL_INSTALL)
-+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
-+ @list='$(noinst_DATA) $(EXTRA_DIST)'; for p in $$list; do \
-+ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
-+ f="`echo $$p | sed -e 's|^.*/||'`"; \
-+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
-+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
-+ done
-+
- install-data: install-data-am
+ 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 =
- install-am: all-am
+ DEFS = @DEFS@
Index: amanda-server/patches/patch-ak
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/amanda-server/patches/patch-ak,v
retrieving revision 1.1
diff -u -r1.1 patch-ak
--- amanda-server/patches/patch-ak 16 Jan 2001 21:59:40 -0000 1.1
+++ amanda-server/patches/patch-ak 24 Feb 2004 16:36:56 -0000
@@ -1,13 +1,10 @@
-$NetBSD: patch-ak,v 1.1 2001/01/16 21:59:40 cjones Exp $
-
---- docs/Makefile.in.orig Sat Nov 25 07:02:01 2000
-+++ docs/Makefile.in Mon Jan 15 15:33:59 2001
-@@ -33,7 +33,7 @@
-
- DESTDIR =
-
--pkgdatadir = $(datadir)/@PACKAGE@
-+pkgdatadir = $(datadir)/doc/@PACKAGE@
- pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
+--- 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 @@
+ EXTRA_DIST = amplot.8 amrestore.8 amtape.8 amdd.8 ammt.8
+ man_MANS = $(AMPLOT_MAN_PAGES) \
+- $(COMMON_MAN_PAGES) \
+ $(SERVER_MAN_PAGES) \
+ $(RECOVER_MAN_PAGES) \
+ $(RESTORE_MAN_PAGES)
>Release-Note:
>Audit-Trail:
>Unformatted: