Imported Debian patch 2.4.4p3-2 debian/2.4.4p3-2
authorBdale Garbee <bdale@gag.com>
Wed, 18 Aug 2004 18:55:21 +0000 (12:55 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 20 May 2008 04:46:35 +0000 (22:46 -0600)
56 files changed:
changer-src/chg-scsi.c
changer-src/chg-zd-mtx.sh.in
client-src/amandates.c
client-src/amandates.h
client-src/selfcheck.c
common-src/Makefile.am
common-src/strftime.c
config/config.guess
config/config.sub
debian/amanda-client.README.Debian [new file with mode: 0644]
debian/amanda-client.dirs [new file with mode: 0644]
debian/amanda-client.files [new file with mode: 0644]
debian/amanda-client.lintian [new file with mode: 0644]
debian/amanda-client.postinst [new file with mode: 0644]
debian/amanda-client.postrm [new file with mode: 0644]
debian/amanda-client.prerm [new file with mode: 0644]
debian/amanda-common.dirs [new file with mode: 0644]
debian/amanda-server.README.Debian [new file with mode: 0644]
debian/amanda-server.dirs [new file with mode: 0644]
debian/amanda-server.files [new file with mode: 0644]
debian/amanda-server.lintian [new file with mode: 0644]
debian/amanda-server.postinst [new file with mode: 0644]
debian/amanda-server.postrm [new file with mode: 0644]
debian/amanda-server.prerm [new file with mode: 0644]
debian/amanda.conf.in [new file with mode: 0644]
debian/amandahosts [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/config [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/crontab.amanda [new file with mode: 0644]
debian/disklist [new file with mode: 0644]
debian/disklist.in [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/examples [new file with mode: 0644]
debian/po/POTFILES.in [new file with mode: 0644]
debian/po/da.po [new file with mode: 0644]
debian/po/de.po [new file with mode: 0644]
debian/po/es.po [new file with mode: 0644]
debian/po/fr.po [new file with mode: 0644]
debian/po/fr.po.poedit [new file with mode: 0644]
debian/po/it.po [new file with mode: 0644]
debian/po/ja.po [new file with mode: 0644]
debian/po/nl.po [new file with mode: 0644]
debian/po/pt.po [new file with mode: 0644]
debian/po/pt_BR.po [new file with mode: 0644]
debian/po/ru.po [new file with mode: 0644]
debian/po/sv.po [new file with mode: 0644]
debian/po/templates.pot [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/postrm [new file with mode: 0644]
debian/preinst [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/tapetype.1 [new file with mode: 0644]
debian/templates [new file with mode: 0644]
man/amreport.8.in

index 43bf315bf04e40b2687e364e2ebf73e15f4dbf38..01cc133b83c5e0288b52f3954171d7b25ed1e13a 100644 (file)
@@ -1303,8 +1303,14 @@ int main(int argc, char *argv[])
     break;
   case COM_LABEL: /* Update BarCode/Label mapping file */
     pbarcoderes->action = BARCODE_PUT;
+    pbarcoderes->data.from = pbarcoderes->data.slot = get_current_slot(slot_file);
     strcpy(pbarcoderes->data.voltag, com.parameter);
-    strcpy( pbarcoderes->data.barcode, pDTE[drive_num].VolTag);
+    if (BarCode(fd) == 1 && emubarcode != 1)
+    {
+       strcpy( pbarcoderes->data.barcode, pDTE[drive_num].VolTag);
+    } else {
+       strcpy( pbarcoderes->data.barcode, com.parameter);
+    }
     MapBarCode(chg.labelfile, pbarcoderes);
     printf("0 0 0\n");
     break;
index 6cf5b18bbdbc87eb6ae4afb4a2ecae7d9667997c..afa460bd798843a630bb89f88e727574f97a0b35 100644 (file)
 #
 # autocleancount=99        #### Number of access before a clean.
 #
+# cleancycle=120           #### Time (seconds) to clean drive (default 120)
+#
 # havereader=0             #### If you have a barcode reader, set to 1.
 #
 # offline_before_unload=0   #### Does your robot require an
index e40a9d6de1e9e5beca704547ccbbdb56586e73c5..c8f019f0a2f7339324ec811a859757925f8272ed 100644 (file)
@@ -26,7 +26,7 @@
 /*
  * $Id: amandates.c,v 1.15.8.1 2003/10/22 17:43:33 martinea Exp $
  *
- * manage amandates file, that mimics /etc/dumpdates, but stores
+ * manage amandates file, that mimics /var/lib/dumpdates, but stores
  * GNUTAR dates
  */
 
@@ -258,7 +258,7 @@ amandates_t *amdp;
 
     devname = amname_to_devname(amdp->name);
 
-    if((dumpdf = fopen("/etc/dumpdates", "r")) == NULL) {
+    if((dumpdf = fopen("/var/lib/dumpdates", "r")) == NULL) {
        amfree(devname);
        return;
     }
index 8cf5bba4f9df13972dbfef2c393930f6eadbb31a..b0b22c2347ef0918f493773bc04082d079ea61f6 100644 (file)
@@ -37,7 +37,7 @@
 #define EPOCH          ((time_t)0)
 
 #ifndef AMANDATES_FILE
-#define AMANDATES_FILE "/etc/amandates"
+#define AMANDATES_FILE "/var/lib/amandates"
 #endif
 
 typedef struct amandates_s {
index 0cfade85051f7b59c193d1f6e8e5e00ffa5d2d84..12641ef7ceaedd9f2f2a4a24fad77642666ab4f0 100644 (file)
@@ -748,7 +748,7 @@ static void check_overall()
     }
 
     if( need_dump || need_xfsdump )
-       check_file("/etc/dumpdates",
+       check_file("/var/lib/dumpdates",
 #ifdef USE_RUNDUMP
                   F_OK
 #else
@@ -767,7 +767,7 @@ static void check_overall()
     check_space(AMANDA_DBGDIR, 64);    /* for amandad i/o */
 #endif
 
-    check_space("/etc", 64);           /* for /etc/dumpdates writing */
+    check_space("/var/lib", 64);       /* for /var/lib/dumpdates writing */
 }
 
 static void check_space(dir, kbytes)
index 0241740245ea57cdc3b06db728992e17352f36c8..87e12e9b5efcc510d5279bc0bda96a47eb06b90e 100644 (file)
@@ -79,7 +79,7 @@ TEST_PROGS = statfs token file security amfeatures
 
 CLEANFILES = regex.h regcomp.ih engine.ih regerror.ih *.test.c
 
-DISTCLEANFILES = version.c
+DISTCLEANFILES = version.c genversion
 
 regex.h: $(REGEXHSRC) $(REGsrcdir)/mkh
        sh $(REGsrcdir)/mkh -o -i _REGEX_H_ $(REGEXHSRC) >$@
index e3b0ea7e87e91a09ed468c2f358f465f27d9e0b0..fe0a497da451bff08e64f7336c09dcaacfc84292 100644 (file)
@@ -23,7 +23,9 @@ static char sccsid[] = "@(#)strftime.c        5.8 (Berkeley) 6/1/90";
 
 #include <sys/types.h>
 #include <sys/time.h>
-#include <tzfile.h>
+#ifndef        linux
+# include <tzfile.h>
+#endif /* linux */
 #include <string.h>
 
 static char *afmt[] = {
index 51fab4770970f7f000ce0a82ef95fef7b0c4e0e6..6641456623484695a632468c7a9bd0dc700b8656 100755 (executable)
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
-timestamp='2004-03-12'
+timestamp='2004-07-19'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -53,7 +53,7 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -212,6 +212,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     hp300:OpenBSD:*:*)
        echo m68k-unknown-openbsd${UNAME_RELEASE}
        exit 0 ;;
+    luna88k:OpenBSD:*:*)
+       echo m88k-unknown-openbsd${UNAME_RELEASE}
+       exit 0 ;;
     mac68k:OpenBSD:*:*)
        echo m68k-unknown-openbsd${UNAME_RELEASE}
        exit 0 ;;
@@ -227,9 +230,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     mvmeppc:OpenBSD:*:*)
        echo powerpc-unknown-openbsd${UNAME_RELEASE}
        exit 0 ;;
-    pegasos:OpenBSD:*:*)
-       echo powerpc-unknown-openbsd${UNAME_RELEASE}
-       exit 0 ;;
     pmax:OpenBSD:*:*)
        echo mipsel-unknown-openbsd${UNAME_RELEASE}
        exit 0 ;;
@@ -307,9 +307,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
        # 1.2 uses "1.2" for uname -r.
        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
        exit 0 ;;
-    Alpha*:OpenVMS:*:*)
-       echo alpha-hp-vms
-       exit 0 ;;
     Alpha\ *:Windows_NT*:*)
        # How do we know it's Interix rather than the generic POSIX subsystem?
        # Should we change UNAME_MACHINE based on the output of uname instead
@@ -764,7 +761,7 @@ EOF
        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
        exit 0 ;;
     *:UNICOS/mp:*:*)
-       echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
        exit 0 ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
@@ -787,21 +784,7 @@ EOF
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
        exit 0 ;;
     *:FreeBSD:*:*)
-       # Determine whether the default compiler uses glibc.
-       eval $set_cc_for_build
-       sed 's/^        //' << EOF >$dummy.c
-       #include <features.h>
-       #if __GLIBC__ >= 2
-       LIBC=gnu
-       #else
-       LIBC=
-       #endif
-EOF
-       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-       # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
-       # FreeBSD's kernel, but not the complete OS.
-       case ${LIBC} in gnu) kernel_only='k' ;; esac
-       echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
        exit 0 ;;
     i*:CYGWIN*:*)
        echo ${UNAME_MACHINE}-pc-cygwin
@@ -1096,9 +1079,9 @@ EOF
     M680?0:D-NIX:5.3:*)
        echo m68k-diab-dnix
        exit 0 ;;
-    M68*:*:R3V[567]*:*)
+    M68*:*:R3V[5678]*:*)
        test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
-    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
        OS_REL=''
        test -r /etc/.relid \
        && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@@ -1260,6 +1243,13 @@ EOF
     *:DragonFly:*:*)
        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
        exit 0 ;;
+    *:*VMS:*:*)
+       UNAME_MACHINE=`(uname -p) 2>/dev/null`
+       case "${UNAME_MACHINE}" in
+           A*) echo alpha-dec-vms && exit 0 ;;
+           I*) echo ia64-dec-vms && exit 0 ;;
+           V*) echo vax-dec-vms && exit 0 ;;
+       esac
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
index ba331039bb873ee5c5740459fc127af6d23578c1..ac6de9869c9a1b0a8145abac6ac35d9854fb11f9 100755 (executable)
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
-timestamp='2004-03-12'
+timestamp='2004-06-24'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -70,7 +70,7 @@ Report bugs and patches to <config-patches@gnu.org>."
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -145,7 +145,7 @@ case $os in
        -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-       -apple | -axis)
+       -apple | -axis | -knuth | -cray)
                os=
                basic_machine=$1
                ;;
@@ -300,7 +300,7 @@ case $basic_machine in
        | avr-* \
        | bs2000-* \
        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
-       | clipper-* | cydra-* \
+       | clipper-* | craynv-* | cydra-* \
        | d10v-* | d30v-* | dlx-* \
        | elxsi-* \
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
@@ -326,8 +326,9 @@ case $basic_machine in
        | mipsisa64sb1-* | mipsisa64sb1el-* \
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
        | mipstx39-* | mipstx39el-* \
+       | mmix-* \
        | msp430-* \
-       | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
+       | none-* | np1-* | ns16k-* | ns32k-* \
        | orion-* \
        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
@@ -445,6 +446,10 @@ case $basic_machine in
                basic_machine=j90-cray
                os=-unicos
                ;;
+       craynv)
+               basic_machine=craynv-cray
+               os=-unicosmp
+               ;;
        cr16c)
                basic_machine=cr16c-unknown
                os=-elf
@@ -659,10 +664,6 @@ case $basic_machine in
        mips3*)
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
                ;;
-       mmix*)
-               basic_machine=mmix-knuth
-               os=-mmixware
-               ;;
        monitor)
                basic_machine=m68k-rom68k
                os=-coff
@@ -743,10 +744,6 @@ case $basic_machine in
        np1)
                basic_machine=np1-gould
                ;;
-       nv1)
-               basic_machine=nv1-cray
-               os=-unicosmp
-               ;;
        nsr-tandem)
                basic_machine=nsr-tandem
                ;;
@@ -1059,6 +1056,9 @@ case $basic_machine in
        romp)
                basic_machine=romp-ibm
                ;;
+       mmix)
+               basic_machine=mmix-knuth
+               ;;
        rs6000)
                basic_machine=rs6000-ibm
                ;;
@@ -1374,6 +1374,9 @@ case $basic_machine in
        *-ibm)
                os=-aix
                ;;
+       *-knuth)
+               os=-mmixware
+               ;;
        *-wec)
                os=-proelf
                ;;
diff --git a/debian/amanda-client.README.Debian b/debian/amanda-client.README.Debian
new file mode 100644 (file)
index 0000000..5390888
--- /dev/null
@@ -0,0 +1,16 @@
+Notes on making amanda-client work on a Debian system
+
+
+To get indexing (or specifically amrecover) to work right two things need
+to be done:
+
+1. Edit server's /etc/hosts.allow and allow all client machines into
+   the daemons amindexd & amidxtaped.
+
+2. Edit the server(s) ~backup/.amandahosts and add an entry like:
+   "<client_hostname>   root"
+
+
+As always: for more complex setups consult the manpages and available
+documentation in /usr/share/doc/amanda-common ;-) 
+
diff --git a/debian/amanda-client.dirs b/debian/amanda-client.dirs
new file mode 100644 (file)
index 0000000..3f2a4c8
--- /dev/null
@@ -0,0 +1,3 @@
+usr/share/doc/amanda-client
+usr/share/lintian/overrides
+var/lib/amanda/gnutar-lists
diff --git a/debian/amanda-client.files b/debian/amanda-client.files
new file mode 100644 (file)
index 0000000..bd965a4
--- /dev/null
@@ -0,0 +1,13 @@
+usr/lib/amanda/amandad
+usr/lib/amanda/calcsize
+usr/lib/amanda/killpgrp
+usr/lib/amanda/patch-system
+usr/lib/amanda/rundump
+usr/lib/amanda/runtar
+usr/lib/amanda/selfcheck
+usr/lib/amanda/sendbackup
+usr/lib/amanda/sendsize
+usr/lib/amanda/versionsuffix
+usr/lib/libamclient*
+usr/share/man/man8/amrecover.8.gz
+usr/sbin/amrecover
diff --git a/debian/amanda-client.lintian b/debian/amanda-client.lintian
new file mode 100644 (file)
index 0000000..c18cdd1
--- /dev/null
@@ -0,0 +1,5 @@
+amanda-client: non-standard-dir-perm var/lib/amanda/ 0770 != 0755
+amanda-client: non-standard-dir-perm var/lib/amanda/gnutar-lists/ 0770 != 0755
+amanda-client: setuid-binary usr/lib/amanda/killpgrp 4754 root/backup
+amanda-client: setuid-binary usr/lib/amanda/rundump 4754 root/backup
+amanda-client: setuid-binary usr/lib/amanda/runtar 4754 root/backup
diff --git a/debian/amanda-client.postinst b/debian/amanda-client.postinst
new file mode 100644 (file)
index 0000000..8f5cd74
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-inetd --group "OTHER" --add "amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad"
+
+#DEBHELPER#
diff --git a/debian/amanda-client.postrm b/debian/amanda-client.postrm
new file mode 100644 (file)
index 0000000..a2c66fa
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+#DEBHELPER#
diff --git a/debian/amanda-client.prerm b/debian/amanda-client.prerm
new file mode 100644 (file)
index 0000000..b86df5c
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+update-inetd --remove "amanda "
+
+#DEBHELPER#
diff --git a/debian/amanda-common.dirs b/debian/amanda-common.dirs
new file mode 100644 (file)
index 0000000..e43c680
--- /dev/null
@@ -0,0 +1,2 @@
+etc
+usr/lib
diff --git a/debian/amanda-server.README.Debian b/debian/amanda-server.README.Debian
new file mode 100644 (file)
index 0000000..128d5de
--- /dev/null
@@ -0,0 +1,63 @@
+amanda for DEBIAN
+-----------------
+
+To configure your server, as root do:
+
+1. for a simple setup edit the files (see explanations there) 
+       /etc/amanda/DailySet1/amanda.conf
+       /etc/amanda/DailySet1/disklist
+       /etc/amanda/crontab
+
+2. prepare the holding disk if you use one by 
+       chown -R backup:backup <holding disk location>
+
+3. do 
+       crontab -u backup /etc/amanda/crontab.amanda
+
+
+To use all of Amanda's features, you may find it necessary to put each client
+machine's root user in the .rhosts or .amandahosts for ~backup on the server 
+machine.  On Debian systems, this is usually linked to /etc/amandahosts, but
+if you have clients running other operating systems you'll have to find the
+right place yourself.
+
+
+NOTE:  If you want to backup your server too, you need to treat it as both a
+client *and* a server, see /usr/share/doc/amanda-client/README.Debian for 
+more information.
+
+
+For more complex setups, consult the manpages and the extra documents and
+example files in /usr/share/doc/amanda-common, or look at www.amanda.org on
+the web.
+
+Another Note: if you use floppy tapes you have to use the sftape
+interface for use with ftape(>=3.03).
+
+Jean Pierre LeJacq <jplejacq@mail.quoininc.com> reports the following about
+his experience using ftape:
+
+  I'm using ftape successfully with amanda but only after
+  struggling.  The crucial trick was to set the block size with with ftmt to 
+  be the same as used by amanda.  I've implemented this with this entry in
+  /etc/modules.conf:
+  
+    alias char-major-27 zftape
+    pre-install zftape /sbin/swapout 5
+    post-install zftape /bin/ftmt -f /dev/nzqft0 setblk 32768
+
+
+To ease use with firewalls, Amanda has been built with options restricting the
+use of TCP to the port range 50000-50100,  and UDP to the port range 840-860.
+
+Sam Johnston <samj@samj.net> reported problems with an Amanda server on which
+bastille was used with the "restrict system resources" option.  See bug
+118616 in the Debian bug tracking system for more information.
+
+Concerns have been expressed about the reliability of 'dump' as a backup tool
+on live Linux systems.  Nothing can guarantee a consistent and meaningful 
+backup of a live filesystem under all circumstances.  The tar utility is 
+'essential' in Debian and so will always be around, is not tied to any specific
+filesystem type, and there are entries in the default amanda.conf file 
+defining dump types using tar.
+
diff --git a/debian/amanda-server.dirs b/debian/amanda-server.dirs
new file mode 100644 (file)
index 0000000..650b695
--- /dev/null
@@ -0,0 +1,7 @@
+etc/amanda/DailySet1
+usr/sbin
+usr/share/doc/amanda-server
+usr/share/man/man1
+usr/share/lintian/overrides
+var/lib/amanda/DailySet1/index
+var/log/amanda/DailySet1
diff --git a/debian/amanda-server.files b/debian/amanda-server.files
new file mode 100644 (file)
index 0000000..2470da0
--- /dev/null
@@ -0,0 +1,47 @@
+usr/lib/libamserver*
+usr/lib/amanda/amcat.awk
+usr/lib/amanda/amcleanupdisk
+usr/lib/amanda/amindexd
+usr/lib/amanda/amlogroll
+usr/lib/amanda/amplot.*
+usr/lib/amanda/amtrmidx
+usr/lib/amanda/amtrmlog
+usr/lib/amanda/chg-*
+usr/lib/amanda/driver
+usr/lib/amanda/dumper
+usr/lib/amanda/amidxtaped
+usr/lib/amanda/planner
+usr/lib/amanda/taper
+usr/sbin/amadmin
+usr/sbin/amcheck
+usr/sbin/amcheckdb
+usr/sbin/amcleanup
+usr/sbin/amdump
+usr/sbin/amflush
+usr/sbin/amgetconf
+usr/sbin/amlabel
+usr/sbin/amoverview
+usr/sbin/amplot
+usr/sbin/amreport
+usr/sbin/amrmtape
+usr/sbin/amtape
+usr/sbin/amtapetype
+usr/sbin/amtoc
+usr/sbin/amverify
+usr/share/man/man8/amadmin.8.gz
+usr/share/man/man8/amanda.8.gz
+usr/share/man/man8/amcheck.8.gz
+usr/share/man/man8/amcheckdb.8.gz
+usr/share/man/man8/amcleanup.8.gz
+usr/share/man/man8/amdump.8.gz
+usr/share/man/man8/amflush.8.gz
+usr/share/man/man8/amgetconf.8.gz
+usr/share/man/man8/amlabel.8.gz
+usr/share/man/man8/amoverview.8.gz
+usr/share/man/man8/amplot.8.gz
+usr/share/man/man8/amreport.8.gz
+usr/share/man/man8/amrmtape.8.gz
+usr/share/man/man8/amtape.8.gz
+usr/share/man/man8/amtapetype.8.gz
+usr/share/man/man8/amtoc.8.gz
+usr/share/man/man8/amverify.8.gz
diff --git a/debian/amanda-server.lintian b/debian/amanda-server.lintian
new file mode 100644 (file)
index 0000000..dc00c32
--- /dev/null
@@ -0,0 +1,13 @@
+amanda-server: non-standard-dir-perm etc/amanda/ 0770 != 0755
+amanda-server: non-standard-dir-perm etc/amanda/DailySet1/ 0770 != 0755
+amanda-server: non-standard-file-perm etc/amanda/DailySet1/amanda.conf 0660 != 0644
+amanda-server: non-standard-file-perm etc/amanda/DailySet1/disklist 0660 != 0644
+amanda-server: non-standard-file-perm etc/amanda/crontab.amanda 0660 != 0644
+amanda-server: setuid-binary usr/sbin/amcheck 4754 root/backup
+amanda-server: setuid-binary usr/lib/amanda/dumper 4754 root/backup
+amanda-server: setuid-binary usr/lib/amanda/planner 4754 root/backup
+amanda-server: non-standard-dir-perm var/lib/amanda/ 0770 != 0755
+amanda-server: non-standard-dir-perm var/lib/amanda/DailySet1/ 0770 != 0755
+amanda-server: non-standard-dir-perm var/lib/amanda/DailySet1/index/ 0770 != 0755
+amanda-server: non-standard-dir-perm var/log/amanda/ 0770 != 0755
+amanda-server: non-standard-dir-perm var/log/amanda/DailySet1/ 0770 != 0755
diff --git a/debian/amanda-server.postinst b/debian/amanda-server.postinst
new file mode 100644 (file)
index 0000000..4a08b9b
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+update-inetd --group "OTHER" --add "amandaidx stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amindexd"
+update-inetd --group "OTHER" --add "amidxtape stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amidxtaped"
+
+#DEBHELPER#
diff --git a/debian/amanda-server.postrm b/debian/amanda-server.postrm
new file mode 100644 (file)
index 0000000..a2c66fa
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+#DEBHELPER#
diff --git a/debian/amanda-server.prerm b/debian/amanda-server.prerm
new file mode 100644 (file)
index 0000000..2bcb874
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+update-inetd --remove amandaidx
+update-inetd --remove amidxtape
+
+#DEBHELPER#
diff --git a/debian/amanda.conf.in b/debian/amanda.conf.in
new file mode 100644 (file)
index 0000000..e5d56d3
--- /dev/null
@@ -0,0 +1,260 @@
+#
+# amanda.conf - sample Amanda configuration file.  
+#
+# If your configuration is called, say, "DailySet1", then this file
+# normally goes in /etc/amanda/DailySet1/amanda.conf.
+# 
+# for explanation of the parameters refer to amanda(8) and
+# /usr/doc/amanda/WHATS.NEW.gz 
+
+org "DailySet1"                # your organization name for reports
+mailto "root"          # space separated list of operators at your site
+dumpuser "backup"      # the user to run dumps under
+#
+inparallel 4           # maximum dumpers that will run in parallel
+netusage  600          # maximum net bandwidth for Amanda, in KB per sec
+
+# a filesystem is due for a full backup once every <dumpcycle> days
+dumpcycle 4 weeks      # the number of days in the normal dump cycle
+tapecycle 8 tapes      # the number of tapes in rotation
+
+bumpsize 20 MB         # minimum savings (threshold) to bump level 1 -> 2
+bumpdays     1         # minimum days at each level
+bumpmult     4         # threshold = bumpsize * (level-1)**bumpmult
+
+#runtapes     9         # explained in WHATS.NEW
+#tpchanger "no-changer" # the tape-changer glue script, see TAPE.CHANGERS
+tapedev        "/dev/nst0"     # Linux @ tuck, important: norewinding
+# tapedev "/dev/nrst8" # or use the (no-rewind!) tape device directly
+
+tapetype HP-DAT                # what kind of tape it is (see tapetypes below)
+labelstr "^HISS[0-9][0-9]*$"   # label constraint regex: all tapes must match
+
+diskdir "/space"               # where the holding disk is
+disksize 290 MB                        # how much space can we use on it
+#diskdir "/dumps/amanda/work"  # additionaly holding disks can be specified
+#diskdir "/mnt/disk4"
+#disksize 1000 MB              #       they are used round-robin
+
+
+# Amanda needs a few MB of diskspace for the log and debug files,
+# as well as a database.  This stuff can grow large, so the conf directory
+# isn't usually appropriate.
+
+infofile "/var/lib/amanda/DailySet1/curinfo"   # database filename
+logfile  "/var/log/amanda/DailySet1/log"       # log filename
+
+# where the index files live
+indexdir "/var/lib/amanda/DailySet1/index"
+
+# tapetypes
+#
+# Define the type of tape you use here, and use it in "tapetype" above.
+# Some typical types of tapes are included here.  The tapetype tells amanda
+# how many MB will fit on the tape, how big the filemarks are, and how
+# fast the tape device is.
+#
+# For completeness Amanda should calculate the inter-record gaps too, but it
+# doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using 9 tracks for
+# amanda and need IRG calculations?  Drop me a note if so.
+
+define tapetype QIC-60 {
+    comment "Archive Viper"
+    length 60 mbytes
+    filemark 100 kbytes                # don't know a better value
+    speed 100 kbytes           # dito
+}
+
+define tapetype DEC-DLT2000 {
+    comment "DEC Differential Digital Linear Tape 2000"
+    length 15000 mbytes
+    filemark 8 kbytes
+    speed 1250 kbytes
+}
+
+# goluboff@butch.Colorado.EDU
+# in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
+define tapetype DLT {
+    comment "DLT tape drives"
+    length 20000 mbytes                # 20 Gig tapes
+    filemark 2000 kbytes       # I don't know what this means
+    speed 1500 kbytes
+}
+
+define tapetype SURESTORE-1200E {
+    comment "HP AutoLoader"
+    length 3900 mbytes
+    filemark 100 kbytes
+    speed 500 kbytes
+}
+
+define tapetype EXB-8500 {
+    comment "Exabyte EXB-8500 drive on decent machine"
+    length 4200 mbytes
+    filemark 48 kbytes
+    speed 474 kbytes                   
+}
+
+define tapetype EXB-8200 {
+    comment "Exabyte EXB-8200 drive on decent machine"
+    length 2200 mbytes
+    filemark 2130 kbytes
+    speed 240 kbytes                   
+}
+
+define tapetype HP-DAT {
+    comment "DAT tape drives"
+    length 1900 mbytes         # these numbers are not accurate
+    filemark 100 kbytes                # but you get the idea
+    speed 500 kbytes
+}
+
+define tapetype DAT {
+    comment "DAT tape drives"
+    length 1000 mbytes         # these numbers are not accurate
+    filemark 100 kbytes                # but you get the idea
+    speed 100 kbytes
+}
+
+define tapetype MIMSY-MEGATAPE {
+    comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
+    length 2200 mbytes
+    filemark 2130 kbytes
+    speed 170 kbytes           # limited by the Emulex bus interface, ugh
+}
+
+define tapetype QIC-3080 {
+    comment "QIC 3080"
+    length 2000 mbytes
+    filemark 64 kbytes
+    speed 250 kbytes
+}
+
+# dumptypes
+#
+# These are referred to by the disklist file.  The dumptype specifies
+# certain "options" for dumping including:
+#      index           - keep an index of the files backed up
+#      compress-fast   - (default) compress on the client using fast algorithm
+#      compress-best   - compress using the best (and slowww) algorithm
+#      no-compress     - don't compress the dump output
+#      srvcompress     - Compress dumps on the tape host instead of client
+#                        machines.  This may be useful when a fast tape host
+#                        is backing up slow clients.
+#      record          - (default) record the dump in /etc/dumpdates
+#      no-record       - don't record the dump, for testing
+#      no-hold         - don't go to the holding disk, good for dumping
+#                        the holding disk partition itself.
+#      skip-full       - Skip the disk when a level 0 is due, to allow
+#                        full backups outside Amanda, eg when the machine
+#                        is in single-user mode.
+#      skip-incr       - Skip the disk when the level 0 is NOT due.  This
+#                        is used in archive configurations, where only full
+#                        dumps are done and the tapes saved.
+#      no-full         - Do a level 1 every night.  This can be used, for
+#                        example, for small root filesystems that only change
+#                        slightly relative to a site-wide prototype.  Amanda
+#                        then backs up just the changes.
+#
+# Also, the dumptype specifies the priority level, where "low", "medium" and
+# "high" are the allowed levels.  These are only really used when Amanda has
+# no tape to write to because of some error.  In that "degraded mode", as
+# many incrementals as will fit on the holding disk are done, higher priority
+# first, to insure the important disks are dumped first.
+
+define dumptype always-full {
+    comment "Full dump of this filesystem always"
+    options no-compress
+    priority high
+    dumpcycle 0
+    maxcycle 0
+}
+
+define dumptype comp-user-tar {
+    program "GNUTAR"
+    comment "partitions dumped with tar"
+    options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
+    priority medium
+}
+
+define dumptype comp-root-tar {
+    program "GNUTAR"
+    comment "Root partitions with compression"
+    options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
+    priority low
+}
+
+define dumptype user-tar {
+    program "GNUTAR"
+    comment "partitions dumped with tar"
+    options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
+    priority medium
+}
+
+define dumptype high-tar {
+    program "GNUTAR"
+    comment "partitions dumped with tar"
+    options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
+    priority high
+}
+
+define dumptype root-tar {
+    program "GNUTAR"
+    comment "Root partitions dumped with tar"
+    options no-compress, index, exclude-list "/etc/amanda/exclude.gtar"
+    priority low
+}
+
+define dumptype comp-user {
+    comment "Non-root partitions on reasonably fast machines"
+    options compress-fast
+    priority medium
+}
+
+define dumptype nocomp-user {
+    comment "Non-root partitions on slow machines"
+    options no-compress
+    priority medium
+}
+
+define dumptype holding-disk {
+    comment "The master-host holding disk itself"
+    options no-hold
+    priority medium
+}
+
+define dumptype comp-root {
+    comment "Root partitions with compression"
+    options compress-fast
+    priority low
+}
+
+define dumptype nocomp-root {
+    comment "Root partitions without compression"
+    options no-compress
+    priority low
+}
+
+define dumptype comp-high {
+    comment "very important partitions on fast machines"
+    options compress-best
+    priority high
+}
+
+define dumptype nocomp-high {
+    comment "very important partitions on slow machines"
+    options no-compress
+    priority high
+}
+
+define dumptype nocomp-test {
+    comment "test dump without compression, no /etc/dumpdates recording"
+    options no-compress, no-record
+    priority medium
+}
+
+define dumptype comp-test {
+    comment "test dump with compression, no /etc/dumpdates recording"
+    options compress-fast, no-record
+    priority medium
+}
diff --git a/debian/amandahosts b/debian/amandahosts
new file mode 100644 (file)
index 0000000..5e9f6eb
--- /dev/null
@@ -0,0 +1 @@
+localhost backup
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..350afe6
--- /dev/null
@@ -0,0 +1,512 @@
+amanda (1:2.4.4p3-2) unstable; urgency=low
+
+  * add killpgrp to the set of setuid root:backup executables in the 
+    amanda-client package, closes: #266520
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 18 Aug 2004 12:55:21 -0600
+
+amanda (1:2.4.4p3-1) unstable; urgency=low
+
+  * new upstream version
+  * incorporate nl.po from Luk Claes, closes: #240071
+  * incorporate it.po from Luca Monducci, closes: #249171
+
+ -- Bdale Garbee <bdale@gag.com>  Sat, 24 Jul 2004 00:17:50 -0600
+
+amanda (1:2.4.4p2-2) unstable; urgency=high
+
+  * don't assume /var/backups is owned by user backup in the postinst, 
+    closes: #238069, #218135
+  * fix README.Debian pathnames in descriptions, closes: #225849, #225856
+  * include Japanese debconf translation, closes: #235321
+  * include upstream changelog in amanda-common, closes: #227033
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 14 Mar 2004 23:35:13 -0700
+
+amanda (1:2.4.4p2-1) unstable; urgency=low
+
+  * new upstream version, closes: #228697
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 15 Feb 2004 19:38:11 -0700
+
+amanda (1:2.4.4p1-2) unstable; urgency=low
+
+  * patch to fix problem using samba3, closes: #214845
+  * add AUTHORS, NEWS, and README to the set of docs delivered, closes: #81068
+  * add a note to the amanda-server README.Debian regarding the interaction 
+    with bastille's 'restrict system resources' option, closes: #118616
+  * add a note to the amanda-server README.Debian regarding the concerns
+    about the reliability of 'dump', closes: #198060
+  * though amverify now exits instead of hanging if mt is not present, make 
+    amanda-server suggest cpio|mt-st to get an mt anyway, closes: #155181
+  * apply patch for chg-scsi.c from Chirik to make emubarcode option work, 
+    closes: #214519
+  * include pt.po from Bruno Rodrigues, closes: #216390
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 24 Oct 2003 01:49:29 -0600
+
+amanda (1:2.4.4p1-1) unstable; urgency=low
+
+  * new upstream version, closes: #210324
+  * make rundump setuid like runtar, closes: #193982
+  * switch to gettext-based debconf templates, closes: #198101
+  * stop forcing ownership of ~backup to avoid security issues posed by other
+    packages writing there as root, closes: #198944
+  * limit port ranges to ease use with firewalls, semi-arbitrarily picking
+    ranges TCP 50000-50100 and UDP 840-860, closes: #65109, #89432, #111882
+  * remove ~backup/.amandahosts symlink in postrm on purge, closes: #198949
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 14 Sep 2003 23:21:00 -0600
+
+amanda (1:2.4.4-2) unstable; urgency=low
+
+  * mark amanda-server as replacing files in older amanda-common to ease
+    upgrading, closes: #190185, #191626
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  2 May 2003 10:50:44 -0600
+
+amanda (1:2.4.4-1) unstable; urgency=low
+
+  * new upstream version, closes: #169634, #182397, #182882
+  * updates the README.Debian files, closes: #189228, #189229
+  * change mailx from suggests to depends, closes: #187283
+  * correct instructions in amanda-client's README.Debian, closes: #180179
+  * patch from Brad Roberts, also submitted upstream, that fixes problems
+    with amflush sometimes ending up in an infinite loop inside the libc
+    memory allocation code, closes: #169537
+  * merge Danish templates translation, closes: #174740
+  * update chg-zd-mtx to include definition of cleancycle, the code using it
+    is already fixed in 2.4.3, closes: #169634
+  * remove explicit suggests on awk, since some flavor of awk is essential
+  * add lintian overrides files to squelch noise about conscious decisions
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 20 Apr 2003 01:14:33 -0600
+
+amanda (1:2.4.3-1) unstable; urgency=low
+
+  * new upstream version, closes: #127801, #163844, #167021, #165522, #127801
+  *   this version does not hard-code the sed path, closes: #161850, #151962
+  * have clean target in rules file update config.sub/guess
+  * clean up postinst files to only call ldconfig when configuring
+  * move to newer debhelper compatibility mode
+  * fix typo in postinst creation of group tape, closes: #165640
+  * enable support for XFS filesystems by adding xfsdump to the list of
+    required build dependencies, closes: #143913, #110731
+
+ -- Bdale Garbee <bdale@gag.com>  Wed,  6 Nov 2002 02:39:58 -0700
+
+amanda (1:2.4.2p2-4) unstable; urgency=low
+
+  * add mtx to the list of build dependencies so support for it gets included
+  * merge chg-zd-mtx.sh.in from 2.5.0 CVS, since it actually works with our
+    current mtx, closes: #136571
+  * merge french templates translation, closes: #138521
+  * merge russian templates translation, closes: #137616
+  * switch to unmerged templates files in the source package
+
+ -- Bdale Garbee <bdale@gag.com>  Tue,  2 Apr 2002 00:43:13 -0700
+
+amanda (1:2.4.2p2-3) unstable; urgency=medium
+
+  * solve problem reported as bug 112691 a different way, to back out the
+    change made for -2 that had disasterous side-effects... instead of messing
+    with configure options, just eliminate chg-mtx since it's not useful and
+    the mtx package provides mtx-changer which works.
+    Closes: #119495, #119546, #119352, #119361, #119549, #119665
+  * add lpr to build dependencies, closes: #119399, #108607
+  * change the fix for duplicate dependencies on amanda-common so that it's
+    the versioned flavor we preserve, so all the pieces stay in sync
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 14 Nov 2001 21:41:11 -0700
+
+amanda (1:2.4.2p2-2) unstable; urgency=medium
+
+  * add configure option to keep chg-mtx, et al, from writing to files in 
+    in /tmp insecurely, closes: #112691
+  * merge in -pt_BR template translation, closes: #106129
+  * fix duplicate dependencies on amanda-common, closes: #118639, #118642
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  9 Nov 2001 10:30:27 -0700
+
+amanda (1:2.4.2p2-1) unstable; urgency=low
+
+  * new upstream version, closes: #93449
+  * freshen config.sub/guess again
+  * fix problem with tapetype install using wrong libtool, closes: #104772
+  * various minor cleanups in the rules file to reduce warnings
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 19 Jul 2001 23:26:33 -0600
+
+amanda (1:2.4.2-6) unstable; urgency=low
+
+  * freshen config.sub/guess for ia64 and hppa, closes: #90182
+  * amanda tests for -E or -S for estimates from dump during configure, and
+    is selecting -S now with the dump in sid.  The latest amanda and latest
+    dump therefore should work fine together, closes: #91859
+  * update build-depends from perl5 to perl
+
+ -- Bdale Garbee <bdale@gag.com>  Wed,  4 Apr 2001 15:43:52 -0600
+
+amanda (1:2.4.2-5) unstable; urgency=low
+
+  * add an explicit dependency in the rules file on /usr/bin/smbclient, since
+    the Build-Depends: line in the control file isn't checked automatically,
+    and the configure will happily build amanda without smbclient support if
+    it isn't installed... which is *not* what we want!  closes: #85965
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 14 Feb 2001 11:33:06 -0700
+
+amanda (1:2.4.2-4) unstable; urgency=low
+
+  * lose the ftape-util build dependency, nobody wanted it and it's causing
+    various problems.  closes: #85516, #85708
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 12 Feb 2001 21:54:31 -0700
+
+amanda (1:2.4.2-3) unstable; urgency=low
+
+  * lose the dh_suidregister calls, since it's obsolete, closes: #85334
+  * add build-depend on ftape-util so that configure will find and know how to
+    use that technology, even though nobody has ever actually asked me about
+    it who wanted to use it... closes: #83287
+  * fold in contributed template translations, closes: #83479, #84839, #84867
+  * if ~backup/.amandahosts isn't a link, use 'su -c backup' when creating it
+    to be compatible with NFS-mounted home directories.  It would be cleaner,
+    of course, to train Amanda to use the real file which I now place in /etc 
+    directly, but that can wait for another day.  closes: #83554
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  9 Feb 2001 11:42:31 -0700
+
+amanda (1:2.4.2-2) unstable; urgency=low
+
+  * make sure /etc/amandahosts has correct owner/group/perms in postinst,
+    closes: #80941
+  * update dependency information since some files moved from amanda-common
+    to amanda-client, so that upgrades go smoothly.  also, make the client
+    and server packages have a versioned depend on the common package to avoid
+    potential problems.
+  * problem with visible control chars in amverify confirmed to have been 
+    fixed upstream in the 2.4.2 version, closes: #65537
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 31 Dec 2000 21:49:16 -0700
+
+amanda (1:2.4.2-1) unstable; urgency=low
+
+  * new upstream version, closes: #76632, #78040, #79500
+  * fold in debconf support patch from shaleh
+  * make sure all build dependencies are present, closes: #67008
+  * move canonical location of amandahosts file to /etc, moving existing file
+    there if necessary, and using a symlink in ~backup.  This allows treatment
+    as a conffile.  Closes: #52357
+  * upstream implemented a general Y2K amoverview fix, closes: #64780
+  * chg-scsi is delivered in amanda-server 2.4.2, closes: #41420
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 26 Dec 2000 23:25:22 -0700
+
+amanda (1:2.4.1p1-12) frozen unstable; urgency=low
+
+  * revert amplot/Makefile.in to upstream version to dodge issues created 
+    by newer automake version.  Note that items in the build depends
+    list in the control file *must* be available or the package build will
+    fail, as some executables won't be generated if configure doesn't find 
+    everything it wants!  Closes: #64864, marked as grave for potato.
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 11 Jun 2000 09:53:35 -0600
+
+amanda (1:2.4.1p1-11) frozen unstable; urgency=low
+
+  * target frozen because I think the spurious failure messages and duplicated
+    dependencies are worth fixing for potato even though both were filed as
+    "normal" bugs
+  * add extra cases to amanda-client's filtering of tar output to eliminate
+    user concern and confusion from spurious "FAILED DUMP" messages,
+    closes: #60126
+  * be more careful about which -dev packages are on build machine so that
+    we only depend on one version of libreadline, closes: #57940
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 12 Mar 2000 22:31:39 -0700
+
+amanda (1:2.4.1p1-10) unstable; urgency=low
+
+  * fix postinst bug in amanda-server that breaks inetd.conf that was 
+    introduced during cut'n'paste for -8, closes: #52332
+  * the amanda-server package depends on mailx because the upstream source
+    looks for mailx at configure time, embeds the path, and uses it to send
+    mail.  The dependency on mailx is not arbitrary.  Closes: #44034
+  * add mailx to the Build-Depends so configure can find it
+  * update path reference to GPL in copyright file for FHS
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  7 Jan 2000 01:39:14 -0700
+
+amanda (1:2.4.1p1-9) unstable; urgency=low
+
+  * missed a few things in Build-Depends, fill them in
+
+ -- Bdale Garbee <bdale@gag.com>  Sun,  5 Dec 1999 15:15:33 -0700
+
+amanda (1:2.4.1p1-8) unstable; urgency=low
+
+  * supply the real tapetype, not just libtool wrapper.  closes: #50585, #50280
+  * update control to include Build-Depends:, remove README.source-depends
+  * move the inetd entry handling from amanda-common postinst/prerm to the
+    amanda-server package, since they're only relevant there, closes: #49578
+
+ -- Bdale Garbee <bdale@gag.com>  Sat, 27 Nov 1999 17:39:13 -0700
+
+amanda (1:2.4.1p1-7) unstable; urgency=low
+
+  * recompile to include smbclient support
+
+ -- Bdale Garbee <bdale@gag.com>  Sun,  7 Nov 1999 14:13:24 -0700
+
+amanda (1:2.4.1p1-6) unstable; urgency=low
+
+  * apply patches from Amanda patch page for glibc21, glibc22, and samba2.
+    Closes: #42771, #44672
+  * real fix for self-referential dependencies, closes: #46362
+  * the amrecover behavior reported was a 2.4.0 issue, closes: #27709
+  * "fix" bash-ism in the rules file, closes: #45236
+  * provide tapetype in amanda-server, closes: #42825
+  * FHS compliance, lintian clean
+  * thanks to Ben Kochie <ben@nerp.net> for reviewing open bugs for this update
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  5 Nov 1999 20:22:00 -0700
+
+amanda (1:2.4.1p1-5) unstable; urgency=low
+
+  * update perl dependency to perl5 as per new perl policy
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 11 Jul 1999 11:37:32 -0600
+
+amanda (1:2.4.1p1-4) unstable; urgency=low
+
+  * fix dependencies for amanda-common in control, closes 38464
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 30 May 1999 23:37:55 -0600
+
+amanda (1:2.4.1p1-3) unstable; urgency=low
+
+  * depend on mailx, closes 34894
+  * lose the -DENABLE_GNUTAR_ATIME_PRESERVE, since it eliminates the ability
+    to use tar for incremental backups, closes 36639
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 24 May 1999 23:57:25 -0600
+
+amanda (1:2.4.1p1-2) unstable; urgency=low
+
+  * replace /var/state usage with /var/lib/amanda, since user backup can't 
+    write to /var/state
+  * stop calling automake/autoconf explicitly in the rules file, since it
+    appears that automake 1.4 breaks amanda, while 1.3 was ok.  It should be
+    ok to just use the provided configure, closes 32143
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 19 Jan 1999 21:21:18 -0700
+
+amanda (1:2.4.1p1-1) unstable; urgency=low
+
+  * new upstream version, closes 24855, 22270
+  * enable IGNORE_TAR_ERRORS and ENABLE_GNUTAR_ATIME_PRESERVE, closes 28486
+  * have the amanda-common postinst create /var/lib/amanda before it tries to
+    put a file there, closes 22345, 30326, 25106
+  * fix a few last references to /usr/adm, closes 25574
+  * update the docs for amanda-server to include a note about using ftape
+    from Jean Pierre LeJacq, closes 22271
+  * make the 'build-stamp' chunk of the rules file depend on /sbin/dump, since
+    amanda won't know about dump unless it can find it during the configure.
+    Another reason we need build-time dependencies, I guess.  Closes 24369.
+  * fix chg-mtx.sh.in to reflect Debian mtx syntax, closes 26208
+  * add tapetype QIC-3080, closes 26569
+  * eliminate dh_du from the rules file
+  * various tweaks to resolve lintian complaints
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 18 Jan 1999 22:58:34 -0700
+
+amanda (1:2.4.0-4) unstable; urgency=low
+
+  * add suggests dump to amanda-client, closes 24962
+
+ -- Bdale Garbee <bdale@gag.com>  Mon,  3 Aug 1998 22:32:29 -0600
+
+amanda (1:2.4.0-3) frozen unstable; urgency=low
+
+  * be consistent about pointing to /var/lib/amanda/amandates, closes 21811.
+  * be consistent about supporting suidregister.
+  * make sure user backup's home directory exists before using it in the 
+    amanda-common postinst, closes 21897.
+
+ -- Bdale Garbee <bdale@gag.com>  Sun,  3 May 1998 20:48:38 -0600
+
+amanda (1:2.4.0-2) frozen unstable; urgency=low
+
+  * update amanda-common postinst to do a better job of making sure the 
+    user 'backup' exists, and has the right group privs.  Closes 18242,
+    20675, and 20945
+  * update amanda-client README file to reflect automatic handling of user
+    backup, and to add information for users setting up to do indexing,
+    closes 21313
+  * improve documentation of server config issues in amanda-server README,
+    closes 21366
+  * update default amanda.conf to fix compression flags on comp-user-tar and
+    comp-root-tar, closes 21198
+  * fix typos in amanda-server's README file, closes 21118
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 20 Apr 1998 02:14:50 -0600
+
+amanda (1:2.4.0-1) frozen unstable; urgency=high
+
+  * new upstream release, 2.4.0 is no longer beta... 
+  * use an explicit epoch in the version since 2.4.0 < 2.4.0b6 ... sigh
+  * add --with-smbclient to configure run, and include more docs in 
+    amanda-common, closes 18366
+  * clean up dependencies, closes 18746
+  * patch dh_movefiles from debhelper to move real files before symlinks when
+    processing wildcards, closes 19267... debhelper bug 18220 addresses this
+    issue.
+  * make better use of wildcards in debhelper control files, closes 18350
+  * fix spelling errors in control file, closes 18959
+  * have amanda-server suggest mailx, since amcheck optionally uses 
+    /usr/bin/Mail to notify the operator of needed tapes, closes 18334
+  * improve the postinst slightly... the home directory for user backup needs
+    to be fixed in /etc/passwd before I can do the right things to close
+    18242 completely.  Bug filed against base-passwd, severity important.
+  * various small cleanups suggested to me via email without bugs filed
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 30 Mar 1998 18:29:55 -0700
+
+amanda (2.4.0b6-12) unstable; urgency=low
+  * apply upstream patches to bring us to 2.4.0-980319
+  * fold in some of Heiko's improvements from his bo-unstable version
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 24 Mar 1998 23:52:55 -0700
+
+amanda (2.4.0b6-11) unstable; urgency=low
+
+  * apply upstream patches to bring us to 2.4.0b6p4
+  * use appropriate wildcards in amanda-*.files control files.  Closes 18196.
+  * include 'adduser' alternative in amanda-client's README, closes 18174.
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 15 Feb 1998 12:54:46 -0700
+
+amanda (2.4.0b6-10) unstable; urgency=low
+
+  * apply upstream patches to bring us to 2.4.0b6p3
+
+ -- Bdale Garbee <bdale@gag.com>  Sun,  8 Feb 1998 17:53:47 -0700
+
+amanda (2.4.0b6-9) unstable; urgency=low
+
+  * clean up dependencies, closes 17838
+  * apply upstream patches to bring us to 2.4.0b6p2
+  * switch to automake 1.2d from experimental on build machine, reduces
+    the amount of hackery required, and therefore the size of the diffs.
+
+ -- Bdale Garbee <bdale@gag.com>  Thu,  5 Feb 1998 22:40:58 -0700
+
+amanda (2.4.0b6-8) unstable; urgency=low
+
+  * apply upstream patch to handle occasional divide by zero in amplot 
+  * refine split of files between binary packages 
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 28 Jan 1998 14:33:30 -0700
+
+amanda (2.4.0b6-7) unstable; urgency=low
+
+  * patch for amrmtape from Heiko, will be in a future upstream release
+  * add suidmanager support to control files
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 28 Jan 1998 14:33:30 -0700
+
+amanda (2.4.0b6-6) unstable; urgency=low
+
+  * clean up permissions... with --with-bsd-security enabled, some pieces must
+    be setuid in the server package
+  * fix client prerm so that it only removes the inetd.conf entry it owns.
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 27 Jan 1998 14:44:30 -0700
+
+amanda (2.4.0b6-5) unstable; urgency=low
+
+  * enable use of .amandahosts instead of .rhosts for access control.  
+  * change /etc/amandates location to /var/lib/amandates for FSSTND compliance.
+  * ensure /var/lib/amandates exists with correct perms in postinst.
+  * make the /var/lib/amanda-gnutar-lists directory have appropriate perms.
+  * update README files to reflect contemporary reality
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 27 Jan 1998 10:04:58 -0700
+
+amanda (2.4.0b6-4) unstable; urgency=low
+
+  * oops... --with-bsd-security got dropped from the configure at some point,
+    add it back in.  Thanks to Heiko again for pointing this out.
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 26 Jan 1998 10:40:39 -0700
+
+amanda (2.4.0b6-3) unstable; urgency=low
+
+  * make amanda-common depend on tar >= 1.12.   Thanks to Heiko Schlittermann
+    for pointing this out.
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 26 Jan 1998 10:40:39 -0700
+
+amanda (2.4.0b6-2) unstable; urgency=low
+
+  * amanda-common was suggesting amanda or amanda-client, updated to reflect
+    replacement of 'amanda' with 'amanda-server'.
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 26 Jan 1998 10:40:39 -0700
+
+amanda (2.4.0b6-1) unstable; urgency=low
+
+  * new maintainer
+  * new upstream release, reworked package for libc6, using debhelper
+  * incorporate amanda-common split suggested by Tom Lear's 2.4.0b4 package.
+    this replaces 'amanda' with 'amanda-server', and breaks out an 
+    'amanda-common' package to hold the libs and man pages that were formerly
+    conflicting between amanda and amanda-client.  Closes bugs 11046, 11943.
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 26 Jan 1998 09:15:05 -0700
+
+amanda (2.3.0.4-2.1) unstable; urgency=low
+
+  * non-maintainer release (never actually uploaded)
+  * libc6
+  * make amanda and amanda-client depend on netbase (>=3.03) for /etc/services
+    entries.  Remove /etc/services mashing from postinst.  Closes bugs 12847,
+    12848, 13795.
+  * make amanda depend on amanda-client.  This is the easiest way to resolve
+    the overlapping files problem.  It makes the assumption that if you're
+    running an amanda server, you'll want the client stuff anyway so you can 
+    back up the server.  Since the client package is small, this seems like a
+    better resolution than splitting out a third "common" package.  Closes
+    bugs 11046, 11943.
+  * update all references to /etc/amandates and /etc/dumpdates to use 
+    /var/lib/*dates, ala current Debian dump package.  Closes bug 15586.
+  * pre-apply all the patches from the upstream archive, to simplify the 
+    build process.  Patches applied include: arithexc.diff,exclude2.diff,
+    flushidx.diff,srvcomp.diff,tardates.diff,exclude.diff,exclude3.diff,
+    longopt.diff, and srvcomp2.diff.  Closes bug 13151, 13796.
+  * convert rules file to use debhelper.
+
+ -- Bdale Garbee <bdale@gag.com>  Sat, 10 Jan 1998 02:08:02 -0700
+
+amanda (2.3.0.4-2) unstable; urgency=low
+
+  * fixed dependencies for amanda-client 
+
+ -- Christian Meder <meder@control.toronto.edu>  Wed, 18 Jun 1997 14:49:49 -0400
+
+amanda (2.3.0.4-1) unstable; urgency=low
+
+  * Initial Release.
+  * Split in client and server package
+  * wrote small READMEs to ease a quick start
+  * applied several patches from 
+    http://www.cs.umd.edu/projects/amanda/patches.html to fix various
+    new features
+
+ -- Christian Meder <meder@control.toronto.edu>  Wed, 14 May 1997 13:08:34 -0500
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/config b/debian/config
new file mode 100644 (file)
index 0000000..6917623
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+. /usr/share/debconf/confmodule
+
+# if both files exist, suggest they merge them
+# if only one exists, the postinst moves it
+if [ -f /var/lib/amandates ]; then
+  if [ -f /var/lib/amanda/amandates ]; then
+    db_input medium amanda-common/merge_amandates || true
+    db_go
+  fi
+fi
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..5b73bd4
--- /dev/null
@@ -0,0 +1,113 @@
+Source: amanda
+Section: utils
+Priority: optional
+Maintainer: Bdale Garbee <bdale@gag.com>
+Build-Depends: debhelper (>= 4.1.16), dump, gnuplot, libncurses5-dev, libreadline4-dev, libtool, flex, perl, smbclient, mailx, lpr, mtx, xfsdump, po-debconf
+Standards-Version: 3.6.1.0
+
+Package: amanda-common
+Architecture: any
+Depends: ${shlibs:Depends}, netbase (>=3.03), tar (>=1.12), perl5, mailx, debconf
+Suggests: amanda-server (= ${Source-Version}) | amanda-client (= ${Source-Version})
+Conflicts: amanda
+Replaces: amanda
+Description: Advanced Maryland Automatic Network Disk Archiver (Libs)
+ This package contains libraries required by the amanda client and
+ server packages.
+
+Package: amanda-server
+Architecture: any
+Depends: ${shlibs:Depends}, amanda-common (= ${Source-Version}), mailx
+Suggests: perl5, gnuplot, amanda-client (= ${Source-Version}), cpio | mt-st
+Conflicts: amanda
+Replaces: amanda-common (<< 1:2.4.4)
+Description: Advanced Maryland Automatic Network Disk Archiver (Server)
+ Amanda is a backup system designed to archive many computers on a
+ network to a single large-capacity tape drive. This package is
+ suitable for large amounts of data to backup. For smaller solutions
+ take a look at afbackup, tob, taper, ... 
+ .
+  Features:
+   * 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.
+   * built on top of standard backup software: Unix dump/restore, and
+     later GNU Tar and others.
+   * 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.
+   * for a restore, tells you what tapes you need, and finds the proper
+     backup image on the tape for you.
+   * recovers gracefully from errors, including down or hung machines.
+   * reports results, including all errors in detail, in email to operators.
+   * will dynamically adjust backup schedule to keep within constraints: 
+     no more juggling by hand when adding disks and computers to network.
+   * includes a pre-run checker program, that conducts sanity checks on both
+     the tape server host and all the client hosts (in parallel), and will
+     send an e-mail report of any problems that could cause the backups to
+     fail.
+   * can compress dumps before sending 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.
+ .
+ For important notes, see /usr/share/doc/amanda-server/README.Debian.
+ .
+ Explanation of suggested programs:
+  - perl is needed for some non essential server utilities
+  - gnuplot is needed for plotting statistics of backups
+  - to backup the tape server, you need to install the client too 
+
+Package: amanda-client
+Architecture: any
+Depends: ${shlibs:Depends}, amanda-common (= ${Source-Version})
+Suggests: gnuplot, dump, smbclient
+Conflicts: amanda, amanda-common (<< 1:2.4.2)
+Replaces: amanda-common (<< 1:2.4.2)
+Description: Advanced Maryland Automatic Network Disk Archiver (Client)
+ Amanda is a backup system designed to archive many computers on a
+ network to a single large-capacity tape drive. This package is
+ suitable for large amounts of data to backup. For smaller solutions
+ take a look at afbackup, tob, taper, ... 
+ .
+  Features:
+   * 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.
+   * built on top of standard backup software: Unix dump/restore, and
+     later GNU Tar and others.
+   * 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.
+   * for a restore, tells you what tapes you need, and finds the proper
+     backup image on the tape for you.
+   * recovers gracefully from errors, including down or hung machines.
+   * reports results, including all errors in detail, in email to operators.
+   * will dynamically adjust backup schedule to keep within constraints: 
+     no more juggling by hand when adding disks and computers to network.
+   * includes a pre-run checker program, that conducts sanity checks on both
+     the tape server host and all the client hosts (in parallel), and will
+     send an e-mail report of any problems that could cause the backups to
+     fail.
+   * can compress dumps before sending 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.
+ .
+ THIS PACKAGE RELIES ON A RUNNING AMANDA SERVER IN YOUR NETWORK.
+ .
+ For important notes, see /usr/share/doc/amanda-client/README.Debian.
+ .
+ Explanation of suggested programs:
+  - gnuplot is needed for plotting statistics of backups
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..30bd62f
--- /dev/null
@@ -0,0 +1,42 @@
+This package was built by Bdale Garbee <bdale@gag.com> using sources downloaded
+from 
+
+       ftp://ftp.amanda.org/pub/amanda/
+
+The Amanda copyright:
+
+/*
+ * Amanda, The Advanced Maryland Automatic Network Disk Archiver
+ * Copyright (c) 1991, 1996 University of Maryland at College Park
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of U.M. not be used in advertising or
+ * publicity pertaining to distribution of the software without specific,
+ * written prior permission.  U.M. makes no representations about the
+ * suitability of this software for any purpose.  It is provided "as is"
+ * without express or implied warranty.
+ *
+ * U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M.
+ * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Author: James da Silva, Systems Design and Analysis Group
+ *                         Computer Science Department
+ *                         University of Maryland at College Park
+ */
+
+/*
+** This Version of Amanda contains parts of GNU programs
+** (alloca.c, exclude_file.c)
+*/
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/crontab.amanda b/debian/crontab.amanda
new file mode 100644 (file)
index 0000000..62253c7
--- /dev/null
@@ -0,0 +1,7 @@
+# This is an example for a crontab entry for automated backup with amanda
+# With these cron lines, Amanda will check that the correct tape is in
+# the drive every weekday afternoon at 4pm (if it isn't, all the
+# operators will get mail).  At 12:45am that night the dumps will be run. 
+0 16 * * 1-5   /usr/sbin/amcheck -m DailySet1
+45 0 * * 2-6   /usr/sbin/amdump DailySet1
+
diff --git a/debian/disklist b/debian/disklist
new file mode 100644 (file)
index 0000000..6985fec
--- /dev/null
@@ -0,0 +1,68 @@
+# sample Amanda2 disklist file, derived from CS.UMD.EDU's disklist
+#
+# If your configuration is called, say, "DailySet1", then this file
+# normally goes in /etc/amanda/DailySet1/disklist.
+#
+# File format is:
+#
+#      hostname diskdev dumptype
+#
+# where the dumptypes are defined by you in amanda.conf.
+
+
+# At our site, root partitions have a different dumptype because they
+# are of lower priority; they don't contain user data, and don't change
+# much from the department prototype.  In a crunch, they can be left for
+# last or skipped.
+
+#hostname hda2 comp-user
+
+# A SPARCstation 1+
+#salty sd0a comp-root
+#salty sd0g comp-user
+#salty sd1g comp-user
+#salty sd2a comp-root
+#salty sd2g comp-user
+#salty sd3c comp-user
+
+# A DECstation 3100
+#slithy rz1a comp-root
+#slithy rz1g comp-user
+#slithy rz3a comp-root
+#slithy rz3g comp-user
+
+# We don't run compression on the master host since it is going to be
+# busy enough running amanda.
+#master sd0a nocomp-root
+#master sd0g nocomp-user
+# the holding disk can't be dumped to itself, it uses a disktype that
+# specifies the "no-hold" option (see amanda.conf).
+#master sd1c holding-disk
+
+# The chairman's disk is high priority to make sure it gets done.
+#bigwig        sd0a comp-root
+#bigwig        sd0g comp-high
+# Likewise the named databases in the root partition on our primary
+# nameserver.  Also, compression is turned off because we don't want
+# to create any unnecessary load on this baby (it's only a Sun3).
+#bozo        sd0a nocomp-high
+#bozo        sd0g nocomp-user
+#bozo        sd4c nocomp-user
+
+# Dump Joe's NetBSD machine, with the mounted MS-DOS partition dumped
+# using tar.
+#joespc  wd0a comp-root
+#joespc  wd0e comp-user
+#joespc        /msdos comp-user-tar
+
+# Some really slow machines, like Sun2's and some Vaxstations, take
+# forever to compress their dumps: it's just not worth it.
+
+# A Sun2
+#cleo     sd0a nocomp-root
+#cleo     sd0g nocomp-user
+# A VaxStation
+#susie         rz8a nocomp-root
+#susie         rz8g nocomp-user
+
+# and so on ... well, you get the idea
diff --git a/debian/disklist.in b/debian/disklist.in
new file mode 100644 (file)
index 0000000..6985fec
--- /dev/null
@@ -0,0 +1,68 @@
+# sample Amanda2 disklist file, derived from CS.UMD.EDU's disklist
+#
+# If your configuration is called, say, "DailySet1", then this file
+# normally goes in /etc/amanda/DailySet1/disklist.
+#
+# File format is:
+#
+#      hostname diskdev dumptype
+#
+# where the dumptypes are defined by you in amanda.conf.
+
+
+# At our site, root partitions have a different dumptype because they
+# are of lower priority; they don't contain user data, and don't change
+# much from the department prototype.  In a crunch, they can be left for
+# last or skipped.
+
+#hostname hda2 comp-user
+
+# A SPARCstation 1+
+#salty sd0a comp-root
+#salty sd0g comp-user
+#salty sd1g comp-user
+#salty sd2a comp-root
+#salty sd2g comp-user
+#salty sd3c comp-user
+
+# A DECstation 3100
+#slithy rz1a comp-root
+#slithy rz1g comp-user
+#slithy rz3a comp-root
+#slithy rz3g comp-user
+
+# We don't run compression on the master host since it is going to be
+# busy enough running amanda.
+#master sd0a nocomp-root
+#master sd0g nocomp-user
+# the holding disk can't be dumped to itself, it uses a disktype that
+# specifies the "no-hold" option (see amanda.conf).
+#master sd1c holding-disk
+
+# The chairman's disk is high priority to make sure it gets done.
+#bigwig        sd0a comp-root
+#bigwig        sd0g comp-high
+# Likewise the named databases in the root partition on our primary
+# nameserver.  Also, compression is turned off because we don't want
+# to create any unnecessary load on this baby (it's only a Sun3).
+#bozo        sd0a nocomp-high
+#bozo        sd0g nocomp-user
+#bozo        sd4c nocomp-user
+
+# Dump Joe's NetBSD machine, with the mounted MS-DOS partition dumped
+# using tar.
+#joespc  wd0a comp-root
+#joespc  wd0e comp-user
+#joespc        /msdos comp-user-tar
+
+# Some really slow machines, like Sun2's and some Vaxstations, take
+# forever to compress their dumps: it's just not worth it.
+
+# A Sun2
+#cleo     sd0a nocomp-root
+#cleo     sd0g nocomp-user
+# A VaxStation
+#susie         rz8a nocomp-root
+#susie         rz8g nocomp-user
+
+# and so on ... well, you get the idea
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..c055764
--- /dev/null
@@ -0,0 +1,4 @@
+AUTHORS
+NEWS
+README
+docs
diff --git a/debian/examples b/debian/examples
new file mode 100644 (file)
index 0000000..33a9488
--- /dev/null
@@ -0,0 +1 @@
+example
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644 (file)
index 0000000..cef83a3
--- /dev/null
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644 (file)
index 0000000..d79f74b
--- /dev/null
@@ -0,0 +1,41 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Venligst flet /var/lib/amandates og /var/lib/amanda/amandates."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Du har både /var/lib/amandates og /var/lib/amanda/amandates. Du rådes til at "
+"gennemse filerne, og flette indholdet der interesserer dig til den nye "
+"lokation /var/lib/amanda/amandates og fjern den gamle fil /var/lib/amandates."
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644 (file)
index 0000000..ce21324
--- /dev/null
@@ -0,0 +1,43 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr ""
+"Bitte fügen Sie /var/lib/amandates und /var/lib/amanda/amandates zusammen."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Es existieren die beiden Verzeichnisse /var/lib/amandates und /var/lib/"
+"amanda/amandates. Bitte überprüfen Sie die Dateien und verschieben Sie den "
+"Inhalt, der Ihnen wichtig ist, nach /var/lib/amanda/amandates und löschen "
+"Sie die alte Datei /var/lib/amandates."
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644 (file)
index 0000000..079c890
--- /dev/null
@@ -0,0 +1,42 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Por favor fusione los ficheros de datos"
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Se han detectado los ficheros /var/lib/amandates y /var/lib/amanda/"
+"amandates. Por favor revise ambos ficheros y fusione los contenidos que le "
+"sean necesarios en el fichero /var/lib/amanda/amandates. Posteriormente "
+"puede borrar el fichero antig=FCo /var/lib/amandates."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644 (file)
index 0000000..bb31b32
--- /dev/null
@@ -0,0 +1,42 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Original french translation by an unknown contributor
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 2.4.4-2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: 2003-06-19 18:42+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Veuillez fusionner /var/lib/amandates et /var/lib/amanda/amandates."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"/var/lib/amandates et /var/lib/amanda/amandates existent. Veuillez examiner "
+"les fichiers et fusionner les données importantes dans le fichier /var/lib/"
+"amanda/amandates ; supprimez ensuite l'ancien fichier /var/lib/amandates. "
diff --git a/debian/po/fr.po.poedit b/debian/po/fr.po.poedit
new file mode 100644 (file)
index 0000000..985e9ed
--- /dev/null
@@ -0,0 +1,7 @@
+#. This catalog was generated by poedit
+#. Number of items: 2
+#. Language: French
+#. Country: 
+#. Basepath: 
+#. Paths: 0
+#. Keywords: 0
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644 (file)
index 0000000..85c7de2
--- /dev/null
@@ -0,0 +1,27 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1:2.4.4p2 (templates)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: 2004-05-14 12:16+0200\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Unire /var/lib/amandates e /var/lib/amanda/amndates."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Esiste sia /var/lib/amandates che /var/lib/amanda/amandates. Controllare "
+"i file e unire il contenuto interessante in /var/lib/amanda/amndates e "
+"rimuovere i file inutili da /var/lib/amanadates."
\ No newline at end of file
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644 (file)
index 0000000..04f362c
--- /dev/null
@@ -0,0 +1,40 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 2.4.4p2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: 2004-02-21 01:08+0900\n"
+"Last-Translator: Hideki Yamane <henrich@samba.gr.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "/var/lib/amandates ¤È /var/lib/amanda/amandates ¤ò¥Þ¡¼¥¸¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr "/var/lib/amandates ¤È /var/lib/amanda/amandates ¤ÎξÊý¤¬¤¢¤ê¤Þ¤¹¡£"
+"¥Õ¥¡¥¤¥ë¤ò³Îǧ¤·¡¢/var/lib/amanda/amandates ¤ËÃí°Õ¤¬É¬ÍפÊÆâÍƤò¥Þ¡¼¥¸¤·¤Æ¤«¤é¡¢"
+"¸Å¤¤¥Õ¥¡¥¤¥ë /var/lib/amandates ¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£"
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644 (file)
index 0000000..ea04f7b
--- /dev/null
@@ -0,0 +1,34 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1:2.4.4p2-2\n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: 2004-03-25 18:32+0100\n"
+"Last-Translator: Luk Claes <luk.claes@ugent.be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Voeg /var/lib/amandates en /var/lib/amanda/amandates samen."
+
+#. Description
+#: ../templates:3
+msgid "You have both /var/lib/amandates and /var/lib/amanda/amandates. Please review the files, and merge the contents you care about to the /var/lib/amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr "U heeft /var/lib/amandates en /var/lib/amanda/amandates. Kijk deze bestanden na en voeg de inhoud samen die u belangrijk vindt in /var/lib/amanda/amandates, en verwijder het oude bestand /var/lib/amandates"
+
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644 (file)
index 0000000..bf7c45d
--- /dev/null
@@ -0,0 +1,42 @@
+# translation of amanda_1%3A2.4.4p1-1_pt.po to Portuguese
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Bruno Rodrigues <bruno.rodrigues@litux.org>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda_1%3A2.4.4p1-1_pt\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: 2003-10-18 13:47+0100\n"
+"Last-Translator: Bruno Rodrigues <bruno.rodrigues@litux.org>\n"
+"Language-Team: Portuguese <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0.2\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Deverá integrar o conteúdo de /var/lib/amandates em /var/lib/amanda/amandates"
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Existem dois ficheiros de dados, um em /var/lib e outro em /var/lib/amanda. "
+"Deverá rever o conteúdo dos dois ficheiros, integrar o que for importante no "
+"/var/lib/amanda/amandates e apagar o ficheiro antigo /var/lib/amandates."
+
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644 (file)
index 0000000..781ae36
--- /dev/null
@@ -0,0 +1,41 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Por favor junte /var/lib/amandates e /var/lib/amanda/amandates."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Você possui ambos /var/lib/amandates e /var/lib/amanda/amandates. Por favor "
+"revise os arquivos, junte os conteúdos que lhe importam para a localização /"
+"var/lib/amanda/amandates e remova o antigo arquivo /var/lib/amandates."
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644 (file)
index 0000000..908f9b8
--- /dev/null
@@ -0,0 +1,41 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=KOI8-R\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "ðÏÖÁÌÕÊÓÔÁ, ÓÏÅÄÉÎÉÔÅ /var/lib/amandates É /var/lib/amanda/amandates."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"õ  ×ÁÓ  ÅÓÔØ  É /var/lib/amandates, É /var/lib/amanda/amandates ÆÁÊÌÙ. "
+"ðÏÖÁÌÕÊÓÔÁ,  ÐÒÏÓÍÏÔÒÉÔÅ   ÆÁÊÌÙ,  ÓÏÅÄÉÎÉÔÅ  ÉÈ  ÓÏÄÅÒÖÉÍÏÅ  ×  ÆÁÊÌÅ /var/"
+"lib/amanda/amandates, É ÕÄÁÌÉÔÅ ÓÔÁÒÙÊ ÆÁÊÌ /var/lib/amandates."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644 (file)
index 0000000..0ca3fd4
--- /dev/null
@@ -0,0 +1,42 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr "Sammanfoga /var/lib/amandates och /var/lib/amanda/amandates."
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
+"Du har både /var/lib/amandates och /var/lib/amanda/amandates. Var snäll och "
+"gå igenom dessa filer, och sammanfoga innehållet som du bryr dig om till den "
+"nya platsen /var/lib/amanda/amandates. Ta sedan bort den gamla filen /var/"
+"lib/amandates."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644 (file)
index 0000000..4edebd3
--- /dev/null
@@ -0,0 +1,38 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-06-20 01:36-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:3
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates."
+msgstr ""
+
+#. Description
+#: ../templates:3
+msgid ""
+"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please "
+"review the files, and merge the contents you care about to the /var/lib/"
+"amanda/amandates location, and remove the old file /var/lib/amandates."
+msgstr ""
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..046f020
--- /dev/null
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+. /usr/share/debconf/confmodule
+
+if [ "$1" = configure ]; then
+       useradd -d /var/backups -c backup -s /bin/sh \
+               -u 34 -g 34 backup 2> /dev/null 
+
+       groupadd -g 34 backup 2> /dev/null
+       groupadd -g 26 tape 2> /dev/null
+
+       usermod -G disk,tape backup
+
+       # in case we get installed first
+       if [ ! -d /var/lib/amanda ]; then
+               mkdir -p /var/lib/amanda
+       fi
+
+       # try to handle a /var/lib/amandates file, since we created it
+       # incorrectly in previous versions of the amanda packages for Debian
+       if [ -f /var/lib/amandates ]; then
+               if [ ! -f /var/lib/amanda/amandates ]; then
+                       mv /var/lib/amandates /var/lib/amanda/amandates
+               fi
+       fi
+
+       # make sure amandates exists and has the right perms
+       if [ ! -f /var/lib/amanda/amandates ]; then
+               touch /var/lib/amanda/amandates
+       fi
+       chown backup:backup /var/lib/amanda/amandates
+
+       # make sure user backup has a home directory
+       if [ ! -d ~backup ]; then
+               mkdir -p ~backup
+       fi
+
+       # make sure there is a .amandahosts symlink
+       if [ ! -L ~backup/.amandahosts ]; then
+               ln -sf /etc/amandahosts ~backup/.amandahosts
+       fi
+       chown backup:backup ~backup/.amandahosts /etc/amandahosts
+       chmod 660 ~backup/.amandahosts /etc/amandahosts
+fi
+
+#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..be4a1ab
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh -e
+case "$1" in
+  purge)
+       if [ -d /etc/amanda ]; then
+               rm -rf /etc/amanda
+       fi
+       if [ -d /var/log/amanda ]; then
+               rm -rf /var/log/amanda
+       fi
+       if [ -d /var/lib/amanda-gnutar-lists ]; then
+               rm -rf /var/lib/amanda-gnutar-lists
+       fi
+       if [ -d /var/lib/amanda-index ]; then
+               rm -rf /var/lib/amanda-index
+       fi
+       if [ -d /var/lib/amanda ]; then
+               rm -rf /var/lib/amanda
+       fi
+       # keep this around to clean up after old, broken amanda packages
+       # new packages have amandates in /var/lib/amanda...
+       if [ -f /var/lib/amandates ]; then
+               rm -f /var/lib/amandates
+       fi
+
+       rm -f ~backup/.amandahosts
+  ;;
+  remove|upgrade|deconfigure)
+  ;;
+
+  failed-upgrade)
+  ;;
+
+  *)
+        echo "unknown argument --> $1" >&2
+        exit 0
+  ;;
+esac
+
+#DEBHELPER#
diff --git a/debian/preinst b/debian/preinst
new file mode 100644 (file)
index 0000000..b7a735b
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# if a .amandahosts exists and is not a symlink, move it to /etc
+if [ ! -L ~backup/.amandahosts ]
+then
+       if [ -f ~backup/.amandahosts ]
+       then
+               mv -f ~backup/.amandahosts /etc/amandahosts
+       fi
+fi
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..cdb92e0
--- /dev/null
@@ -0,0 +1,130 @@
+#!/usr/bin/make -f
+# debian/rules for amanda using debhelper. GNU copyright 1998 by Bdale Garbee.
+# requires automake 1.2d (from experimental tree)
+
+#      Warning - do *not* use -j on an SMP machine, or the build gets
+#              confused... some sort of race condition in the makefiles?
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+r=$(shell pwd)/debian/amanda-common
+server=$(shell pwd)/debian/amanda-server
+client=$(shell pwd)/debian/amanda-client
+
+build: build-stamp 
+build-stamp: /sbin/dump /usr/bin/smbclient debian/po/templates.pot
+       dh_testdir
+#      automake --foreign
+#      autoconf -l config
+       ./configure --prefix=/usr --bindir=/usr/sbin --mandir=/usr/share/man \
+               --libexecdir=/usr/lib/amanda --enable-shared\
+               --sysconfdir=/etc --localstatedir=/var/lib \
+               --with-gnutar-listdir=/var/lib/amanda/gnutar-lists \
+               --with-index-server=localhost \
+               --with-user=backup --with-group=backup  \
+               --with-bsd-security --with-amandahosts \
+               --with-smbclient=/usr/bin/smbclient \
+               --with-tcpportrange=50000,50100 --with-udpportrange=840,860
+       touch missing
+       make CFLAGS="-O2 -g -Wall \
+               -DAMANDATES_FILE='\"/var/lib/amanda/amandates\"' \
+               -DIGNORE_TAR_ERRORS "
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       -make clean
+       -make distclean
+       -rm -f build-stamp missing config/config.h common-src/genversion
+       -find . -type d -name .deps -exec rm -rf {} \;
+
+       -test -r /usr/share/misc/config.sub && \
+               cp -f /usr/share/misc/config.sub config/config.sub
+       -test -r /usr/share/misc/config.guess && \
+               cp -f /usr/share/misc/config.guess config/config.guess
+
+       dh_clean
+
+# Build architecture-independent files here.
+binary-indep: build
+
+# Build architecture-dependent files here.
+binary-arch: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs -a
+       make install prefix=$(r)/usr bindir=$(r)/usr/sbin \
+               libexecdir=$(r)/usr/lib/amanda mandir=$(r)/usr/share/man
+       install -m 644 debian/amanda.conf.in \
+               $(server)/etc/amanda/DailySet1/amanda.conf
+       install -m 644 debian/disklist $(server)/etc/amanda/DailySet1/disklist
+       install -m 644 debian/crontab.amanda $(server)/etc/amanda
+       install -m 644 debian/amandahosts $(r)/etc/amandahosts
+       dh_installdocs -a
+       install -d $(r)/usr/share/doc/amanda-common/examples
+       cp -a example/* $(r)/usr/share/doc/amanda-common/examples
+       cp ChangeLog $(r)/usr/share/doc/amanda-common/changelog
+       dh_installmenu -a
+       dh_installcron -a
+       dh_installchangelogs -a
+       dh_installdebconf -a
+       dh_strip -a
+       dh_compress -a
+       dh_movefiles -a --sourcedir=debian/amanda-common
+       rm $(server)/usr/lib/amanda/chg-mtx
+       dh_fixperms -av
+       # fix perms manually
+       chown -R backup:backup debian/*/var/lib/*
+       chmod -R u=rwX,g=rwX,o-rwx debian/*/var/lib/*
+       chown -R backup:backup $(server)/var/log/amanda
+       chmod -R u=rwX,g=rwX,o-rwx $(server)/var/log/amanda
+       chown -R backup:backup $(server)/etc/amanda
+       chmod -R u=rwX,g=rwX,o-rwx $(server)/etc/amanda
+       chown -R backup:backup $(client)/var/lib/amanda/gnutar-lists
+       chmod -R u=rwX,g=rwX,o-rwx $(client)/var/lib/amanda/gnutar-lists
+       # .. setuid
+       chown root:backup \
+               $(client)/usr/lib/amanda/killpgrp \
+               $(client)/usr/lib/amanda/rundump \
+               $(client)/usr/lib/amanda/runtar \
+               $(server)/usr/lib/amanda/dumper \
+               $(server)/usr/lib/amanda/planner \
+               $(server)/usr/sbin/amcheck
+       chmod u=srwx,g=rx,o=r \
+               $(client)/usr/lib/amanda/killpgrp \
+               $(client)/usr/lib/amanda/rundump \
+               $(client)/usr/lib/amanda/runtar \
+               $(server)/usr/lib/amanda/dumper \
+               $(server)/usr/lib/amanda/planner \
+               $(server)/usr/sbin/amcheck
+       install -o root -g root -m 0644 debian/amanda-client.lintian \
+               $(client)/usr/share/lintian/overrides/amanda-client
+       install -o root -g root -m 0644 debian/amanda-server.lintian \
+               $(server)/usr/share/lintian/overrides/amanda-server
+       dh_makeshlibs -a
+       dh_installdeb -a
+       dh_shlibdeps -a -l"debian/amanda-common/usr/lib:debian/amanda-client/usr/lib:debian/amanda-server/usr/lib"
+       # strip out the non-versioned amanda-common references, we need
+       # the versioned ones in the control file and dupes are ugly...
+       sed -e 's/amanda-common, //' < debian/amanda-server.substvars > debian/blah
+       mv debian/blah debian/amanda-server.substvars
+       sed -e 's/amanda-common, //' < debian/amanda-client.substvars > debian/blah
+       mv debian/blah debian/amanda-client.substvars
+       dh_gencontrol -a
+       dh_md5sums -a
+       dh_builddeb -a
+
+source diff:                                                                  
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+debian/po/templates.pot:       debian/templates
+       @debconf-updatepo
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/tapetype.1 b/debian/tapetype.1
new file mode 100644 (file)
index 0000000..b728673
--- /dev/null
@@ -0,0 +1,12 @@
+.TH TAPETYPE 1
+.SH NAME
+tapetype \- test a tape in a tape drive and generate an Amanda tapetype entry
+.SH SYNOPSIS
+.B tapetype
+.SH "DESCRIPTION"
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+
+.SH AUTHOR
+This manual page was written by Bdale Garbee <bdale@gag.com>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/templates b/debian/templates
new file mode 100644 (file)
index 0000000..b67a0aa
--- /dev/null
@@ -0,0 +1,7 @@
+Template: amanda-common/merge_amandates
+Type: note
+_Description: Please merge /var/lib/amandates and /var/lib/amanda/amandates.
+ You have both /var/lib/amandates and /var/lib/amanda/amandates. Please
+ review the files, and merge the contents you care about to the
+ /var/lib/amanda/amandates location, and remove the old file
+ /var/lib/amandates.
index f319e815bc5a99825b8c2d69901ff185ce42d9ab..c682a09b9d92ab621cb941a7b6fab0face4a763d 100644 (file)
@@ -10,7 +10,7 @@
 .de OP
 \fB\\$1\fP \fI\\$2\fP
 ..
-.TH AMREPORT 1
+.TH AMREPORT 8
 .SH NAME
 amreport \- generate a formatted output of statistics for an Amanda run
 .SH SYNOPSIS