Merge commit 'upstream/3.1.0'
authorBdale Garbee <bdale@gag.com>
Mon, 14 Jun 2010 19:44:20 +0000 (13:44 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 14 Jun 2010 19:44:20 +0000 (13:44 -0600)
Conflicts:
client-src/selfcheck.c
example/amanda.conf
example/config.site
man/amanda.conf.5
man/xml-source/amanda.conf.5.xml

69 files changed:
changer-src/chg-mcutil.sh
client-src/amandates.c
client-src/selfcheck.c
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.prerm [new file with mode: 0644]
debian/amanda-common.dirs [new file with mode: 0644]
debian/amanda-common.examples [new file with mode: 0644]
debian/amanda-common.postinst [new file with mode: 0644]
debian/amanda-common.postrm [new file with mode: 0644]
debian/amanda-common.preinst [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.examples [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.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/compat [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/gbp.conf [new file with mode: 0644]
debian/po/POTFILES.in [new file with mode: 0644]
debian/po/ar.po [new file with mode: 0644]
debian/po/cs.po [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/fi.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/gl.po [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/po/vi.po [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]
debian/watch [new file with mode: 0644]
debian/xinetd.d/amanda [new file with mode: 0644]
debian/xinetd.d/amandaidx [new file with mode: 0644]
debian/xinetd.d/amidxtape [new file with mode: 0644]
example/amanda.conf.in
example/template.d/dumptypes
gnulib/regenerate/regenerate [changed mode: 0755->0644]
man/amanda.conf.5
man/disklist.5
man/entities/global.entities.in
man/xml-source/amanda.conf.5.xml
man/xml-source/disklist.5.xml
server-src/diskfile.h

index 6ddce7461c415c7bbab8b580c6b02ca93f9732f5..51c59847c6aa9e14025ff3fa3c4ae110b5c435f5 100644 (file)
@@ -261,7 +261,9 @@ current=`cat $currentslot`
 
 
 # Start logging to $logfile
-echo "\n\n==== `date` ====" >> $logfile
+echo >> $logfile
+echo >> $logfile
+echo "==== `date` ====" >> $logfile
 echo `_ 'Command Line ->'` $myname $@ >> $logfile
 
 
index c16b246fb81904e92dd9c1861236ceea760820bf..cdeafe3d2bc92e58c771e33308c6325c9e97c56e 100644 (file)
@@ -26,7 +26,7 @@
 /*
  * $Id: amandates.c,v 1.21 2006/07/25 18:35:21 martinea Exp $
  *
- * manage amandates file, that mimics /etc/dumpdates, but stores
+ * manage amandates file, that mimics /var/lib/dumpdates, but stores
  * GNUTAR dates
  */
 
@@ -314,7 +314,7 @@ import_dumpdates(
 
     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 ac5ed538c8cd29a7964b1e5680943156564cdf00..bbfcd67daad6506cbd224ef7dfe32685421425dd 100644 (file)
@@ -1120,8 +1120,8 @@ check_overall(void)
        check_file(COMPRESS_PATH, X_OK);
 
     if (need_dump || need_xfsdump ) {
-       if (check_file_exist("/etc/dumpdates")) {
-           check_file("/etc/dumpdates",
+       if (check_file_exist("/var/lib/dumpdates")) {
+           check_file("/var/lib/dumpdates",
 #ifdef USE_RUNDUMP
                       F_OK
 #else
@@ -1131,15 +1131,15 @@ check_overall(void)
        } else {
 #ifndef USE_RUNDUMP
            if (access("/etc", R_OK|W_OK) == -1) {
-               g_printf(_("ERROR [dump will not be able to create the /etc/dumpdates file: %s]\n"), strerror(errno));
+               g_printf(_("ERROR [dump will not be able to create the /var/lib/dumpdates file: %s]\n"), strerror(errno));
            }
 #endif
        }
     }
 
     if (need_vdump) {
-       if (check_file_exist("/etc/vdumpdates")) {
-            check_file("/etc/vdumpdates", F_OK);
+       if (check_file_exist("/var/lib/vdumpdates")) {
+            check_file("/var/lib/vdumpdates", F_OK);
        }
     }
 
@@ -1151,6 +1151,7 @@ check_overall(void)
     check_space(AMANDA_DBGDIR, (off_t)64);     /* for amandad i/o */
 #endif
 
+    check_space("/var/lib", (off_t)64);                /* for /var/lib/dumpdates writing */
     check_space("/etc", (off_t)64);            /* for /etc/dumpdates writing */
     }
 }
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..17940d8
--- /dev/null
@@ -0,0 +1,20 @@
+usr/lib/amanda/amandad
+usr/lib/amanda/application/*
+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/sbin/amfetchdump
+usr/sbin/amoldrecover
+usr/sbin/amrecover
+usr/sbin/amrestore
+usr/share/man/man5/amanda-client.conf.5.gz
+usr/share/man/man7/amanda-applications.7.gz
+usr/share/man/man8/amfetchdump.8.gz
+usr/share/man/man8/amrecover.8.gz
+usr/share/man/man8/amrestore.8.gz
diff --git a/debian/amanda-client.lintian b/debian/amanda-client.lintian
new file mode 100644 (file)
index 0000000..509140a
--- /dev/null
@@ -0,0 +1,10 @@
+amanda-client: setuid-binary usr/lib/amanda/application/amgtar 4754 root/backup
+amanda-client: setuid-binary usr/lib/amanda/application/amstar 4754 root/backup
+amanda-client: setuid-binary usr/lib/amanda/calcsize 4754 root/backup
+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
+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: maintainer-script-needs-depends-on-update-inetd prerm
+amanda-client: maintainer-script-needs-depends-on-update-inetd postinst
diff --git a/debian/amanda-client.postinst b/debian/amanda-client.postinst
new file mode 100644 (file)
index 0000000..f8d7f1f
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+update-inetd --group "OTHER" --add "amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad -auth=bsd amdump amindexd amidxtaped"
+
+#DEBHELPER#
diff --git a/debian/amanda-client.prerm b/debian/amanda-client.prerm
new file mode 100644 (file)
index 0000000..3645d0f
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+update-inetd --remove "amanda "
+
+#DEBHELPER#
diff --git a/debian/amanda-common.dirs b/debian/amanda-common.dirs
new file mode 100644 (file)
index 0000000..f303295
--- /dev/null
@@ -0,0 +1,3 @@
+etc/xinetd.d
+usr/lib
+usr/share/doc/amanda-common/examples
diff --git a/debian/amanda-common.examples b/debian/amanda-common.examples
new file mode 100644 (file)
index 0000000..0bbe99e
--- /dev/null
@@ -0,0 +1 @@
+example/*
diff --git a/debian/amanda-common.postinst b/debian/amanda-common.postinst
new file mode 100644 (file)
index 0000000..a85c8fd
--- /dev/null
@@ -0,0 +1,61 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+if [ "$1" = configure ]; then
+       if ! getent passwd backup; then
+               adduser --quiet --system --no-create-home --home /var/backups \
+                       --shell /bin/sh --uid 34 --gid 34 backup
+       fi
+
+       if [ ! -f /var/backups/.profile ]; then
+               echo 'PATH="$PATH:/usr/sbin"' > /var/backups/.profile
+       fi
+
+       groupadd -f -g 34 backup
+       groupadd -f -g 26 tape
+
+       adduser backup disk
+       adduser backup tape
+
+       # 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
+
+       # make sure /var/log/amanda exists
+       if [ ! -d /var/log/amanda ]; then
+               mkdir -p /var/log/amanda
+       fi
+
+       chown backup:backup ~backup/.amandahosts /etc/amandahosts \
+               /var/log/amanda
+       chmod 600 ~backup/.amandahosts /etc/amandahosts
+       chmod 770 /var/log/amanda
+fi
+
+#DEBHELPER#
diff --git a/debian/amanda-common.postrm b/debian/amanda-common.postrm
new file mode 100644 (file)
index 0000000..9c39738
--- /dev/null
@@ -0,0 +1,37 @@
+#!/bin/sh -e
+case "$1" in
+  purge)
+       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/amanda-common.preinst b/debian/amanda-common.preinst
new file mode 100644 (file)
index 0000000..e541f24
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+# 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/amanda-server.README.Debian b/debian/amanda-server.README.Debian
new file mode 100644 (file)
index 0000000..6526640
--- /dev/null
@@ -0,0 +1,149 @@
+amanda for DEBIAN
+-----------------
+
+Since every Amanda installation is different, there is some work you need to
+do to configure your server.  For a simple setup, as root you need to:
+
+1. Create a directory under /etc/amanda for your backup config, we'll assume
+   a name 'DailySet1' as our example.
+
+       mkdir /etc/amanda/DailySet1
+
+   Make sure that /etc/amanda and all the files under it are owner and group
+   backup with directory permissions of 770 and file permissions of 660.
+
+2. populate this directory with config files.  At a minimum, you need 
+   amanda.conf and disklist.
+
+       cp /usr/share/doc/amanda-server/examples/amanda.conf \
+               /etc/amanda/DailySet1/amanda.conf*
+       cp /usr/share/doc/amanda-server/examples/disklist \
+               /etc/amanda/DailySet1/disklist
+
+   Edit these files as needed, following the instructions in each file.
+
+3. Make sure that /etc/amanda and all the files under it are owner and group
+   backup with directory permissions of 770 and file permissions of 660.
+
+       chown -R backup:backup /etc/amanda
+
+3. Prepare the "holding disk" if you plan to use one (highly recommended!) by 
+   ensuring user backup can access it.  See the note below indicating that it
+   may be better to use a subdirectory and not a mount point to avoid having 
+   system artifacts like the lost+found directory confuse things.
+
+       chown -R backup:backup <holding disk location>
+
+4. Install a suitable crontab for user backup.  If you used DailySet1 as your
+   configuration name, you can just install the provided example.  If you
+   picked some other name, you will obviously need to edit a copy of the
+   example before installing it.
+
+       crontab -u backup /usr/share/doc/amanda-server/examples/crontab.amanda
+
+To use all of Amanda's features, you probably also want 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.
+
+If you choose to use the SSH authentication method and associated transport,
+please be aware that there may be problems if /usr/lib/amanda/dumper is suid.
+You can fix this on your server with chmod u-s /usr/lib/amanda/dumper, or
+investigate dpkg-statoverride.
+
+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, and the maintainer of
+these packages uses dump with good results.  
+
+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.  This may therefore be a good
+option to consider.
+
+Note that if you are using tar with amanda, and getting errors about missing
+exclude files (particularly on upgrades from older versions), then you may
+need to update your dumptypes definition to explicitly indicate that the 
+exclude file is optional, as shown in this example:
+
+       define dumptype userdata-lowvalue {
+          program "GNUTAR"
+          comment "Low value user data dumped with tar"
+          options compress-fast, index
+          exclude list optional ".amandaexclude"
+          priority low
+       }
+
+- - - - -
+
+If you see backups failing with an error like:
+
+       driver: FATAL flush line 1: syntax error (skipping != FLUSH)
+
+The problem may be that some versions of Amanda around 2.5.2 are not 
+happy if there are unexpected contents in the holdingdisk you have
+defined on the server.  This can occur, for example, if you are using
+the mount point of a separate filesystem that contains a lost+found
+directory.  The quick fix is to create a subdirectory in that partition
+for Amanda to use that will have no such unexpected contents.  For more 
+info on this issue see:
+
+       http://forums.zmanda.com/archive/index.php/t-591.html
+
+- - - - -
+
+If you see things like this in dmesg:
+
+    INFO: task ammt:9839 blocked for more than 120 seconds.
+    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
+
+This information from Marc Schaefer may relevant:
+
+> AFAIK it's because mtio operations are done in D state (uninterruptible
+> sleep).
+> 
+> And except for mtio operations which may last more than two minutes,
+> nothing in the usual kernel operation will last that long.
+> 
+> Solutions:
+>      - either fix mtio to be interruptible (which may well cause problems
+>        because e.g. SCSI reselection might happen later)
+>      - use the proposed work-around
+>      - ignore those messages in your logcheck.
+
+
+
diff --git a/debian/amanda-server.dirs b/debian/amanda-server.dirs
new file mode 100644 (file)
index 0000000..1e626ae
--- /dev/null
@@ -0,0 +1,7 @@
+etc/amanda
+etc/xinetd.d
+usr/sbin
+usr/share/doc/amanda-server/examples
+usr/share/lintian/overrides
+var/lib/amanda
+var/log/amanda
diff --git a/debian/amanda-server.examples b/debian/amanda-server.examples
new file mode 100644 (file)
index 0000000..739d64e
--- /dev/null
@@ -0,0 +1,3 @@
+debian/amanda.conf.in
+debian/crontab.amanda
+debian/disklist
diff --git a/debian/amanda-server.files b/debian/amanda-server.files
new file mode 100644 (file)
index 0000000..5a1c897
--- /dev/null
@@ -0,0 +1,48 @@
+usr/lib/amanda/amcat.awk
+usr/lib/amanda/amcleanupdisk
+usr/lib/amanda/amidxtaped
+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/planner
+usr/lib/amanda/taper
+usr/sbin/amadmin
+usr/sbin/amcheck
+usr/sbin/amcheckdb
+usr/sbin/amcheckdump
+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/amstatus
+usr/sbin/amtape
+usr/sbin/amtapetype
+usr/sbin/amtoc
+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/amcheckdump.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/amstatus.8.gz
+usr/share/man/man8/amtape.8.gz
+usr/share/man/man8/amtapetype.8.gz
+usr/share/man/man8/amtoc.8.gz
diff --git a/debian/amanda-server.lintian b/debian/amanda-server.lintian
new file mode 100644 (file)
index 0000000..e765b7d
--- /dev/null
@@ -0,0 +1,8 @@
+amanda-server: non-standard-dir-perm etc/amanda/ 0770 != 0755
+amanda-server: setuid-binary usr/lib/amanda/dumper 4754 root/backup
+amanda-server: setuid-binary usr/lib/amanda/planner 4754 root/backup
+amanda-server: setuid-binary usr/sbin/amcheck 4754 root/backup
+amanda-server: non-standard-dir-perm var/lib/amanda/ 0770 != 0755
+amanda-server: non-standard-dir-perm var/log/amanda/ 0770 != 0755
+amanda-server: maintainer-script-needs-depends-on-update-inetd prerm
+amanda-server: maintainer-script-needs-depends-on-update-inetd postinst
diff --git a/debian/amanda-server.postinst b/debian/amanda-server.postinst
new file mode 100644 (file)
index 0000000..45d8772
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+update-inetd --group "OTHER" --add "amandaidx stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amindexd amindexd -auth=bsd amdump amindexd amidxtaped"
+update-inetd --group "OTHER" --add "amidxtape stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amidxtaped amidxtaped -auth=bsd amdump amindexd amidxtaped"
+
+#DEBHELPER#
diff --git a/debian/amanda-server.prerm b/debian/amanda-server.prerm
new file mode 100644 (file)
index 0000000..4288026
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+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..3760360
--- /dev/null
@@ -0,0 +1,673 @@
+#
+# amanda.conf - sample Amanda configuration file.
+#
+# If your configuration is called, say, "DailySet1", then this file
+# normally goes in /etc/amanda/DailySet1/amanda.conf.
+#
+# You need to edit this file to suit your needs.  See the documentation in 
+# this file, in the "man amanda" man page, in the /usr/share/docs/amanda*
+# directories, and on the web at www.amanda.org for more information.
+#
+
+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 (max 63)
+                       # this maximum can be increased at compile-time,
+                       # modifying MAX_DUMPERS in server-src/driverio.h
+dumporder "sssS"       # specify the priority order of each dumper
+                       #   s -> smallest size
+                       #   S -> biggest size
+                       #   t -> smallest time
+                       #   T -> biggest time
+                       #   b -> smallest bandwitdh
+                       #   B -> biggest bandwitdh
+                       # try "BTBTBTBTBTBT" if you are not holding
+                       # disk constrained
+
+taperalgo first                # The algorithm used to choose which dump image to send
+                       # to the taper.
+
+                       # Possible values: 
+                       #   [first|firstfit|largest|largestfit|smallest|last]
+                       # Default: first. 
+
+                       # first         First in - first out.
+                       # firstfit      The first dump image that will fit on 
+                       #               the current tape.
+                       # largest       The largest dump image.
+                       # largestfit    The largest dump image that will fit on
+                       #                the current tape.
+                       # smallest      The smallest dump image.
+                       # last          Last in - first out.
+
+displayunit "k"                # Possible values: "k|m|g|t"
+                       # Default: k. 
+                       # The unit used to print many numbers.
+                       # k=kilo, m=mega, g=giga, t=tera
+                       
+netusage  600 Kbps     # maximum net bandwidth for Amanda, in KB per sec
+
+dumpcycle 4 weeks      # the number of days in the normal dump cycle
+runspercycle 20         # the number of amdump runs in dumpcycle days
+                       # (4 weeks * 5 amdump runs per week -- just weekdays)
+tapecycle 25 tapes     # the number of tapes in rotation
+                       # 4 weeks (dumpcycle) times 5 tapes per week (just
+                       # the weekdays) plus a few to handle errors that
+                       # need amflush and so we do not overwrite the full
+                       # backups performed at the beginning of the previous
+                       # cycle
+
+bumpsize 20 Mb         # minimum savings (threshold) to bump level 1 -> 2
+bumppercent 20         # minimum savings (threshold) to bump level 1 -> 2
+bumpdays 1             # minimum days at each level
+bumpmult 4             # threshold = bumpsize * bumpmult^(level-1)
+
+etimeout 300           # number of seconds per filesystem for estimates.
+#etimeout -600         # total number of seconds for estimates.
+# a positive number will be multiplied by the number of filesystems on
+# each host; a negative number will be taken as an absolute total time-out.
+# The default is 5 minutes per filesystem.
+
+dtimeout 1800          # number of idle seconds before a dump is aborted.
+
+ctimeout 30            # maximum number of seconds that amcheck waits
+                       # for each client host
+tapebufs 20
+# A positive integer telling taper how many 32k buffers to allocate.
+# WARNING! If this is set too high, taper will not be able to allocate
+# the memory and will die.  The default is 20 (640k).
+
+
+# Specify tape device and/or tape changer.  If you don't have a tape
+# changer, and you don't want to use more than one tape per run of
+# amdump, just comment out the definition of tpchanger.
+
+# Some tape changers require tapedev to be defined; others will use
+# their own tape device selection mechanism.  Some use a separate tape
+# changer device (changerdev), others will simply ignore this
+# parameter.  Some rely on a configuration file (changerfile) to
+# obtain more information about tape devices, number of slots, etc;
+# others just need to store some data in files, whose names will start
+# with changerfile.  For more information about individual tape
+# changers, read docs/TAPE.CHANGERS.
+
+# At most one changerfile entry must be defined; select the most
+# appropriate one for your configuration.  If you select man-changer,
+# keep the first one; if you decide not to use a tape changer, you may
+# comment them all out.
+
+runtapes 1             # number of tapes to be used in a single run of amdump
+tpchanger "chg-manual" # the tape-changer glue script
+tapedev "@DEFAULT_TAPE_DEVICE@"        # the no-rewind tape device to be used
+rawtapedev "@DEFAULT_RAW_TAPE_DEVICE@" # the raw device to be used (ftape only)
+#changerfile "/etc/amanda/DailySet1/changer"
+#changerfile "/etc/amanda/DailySet1/changer-status"
+changerfile "/etc/amanda/DailySet1/changer.conf"
+changerdev "@DEFAULT_CHANGER_DEVICE@"
+
+# If you want Amanda to automatically label any non-Amanda tapes it
+# encounters, uncomment the line below. Note that this will ERASE any
+# non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
+# Use with caution.
+## label_new_tapes "DailySet1-%%%"
+
+# maxdumpsize -1       # Maximum number of bytes the planner will schedule
+                       # for a run (default: runtapes * tape_length).
+tapetype HP-DAT                # what kind of tape it is (see tapetypes below)
+labelstr "^DailySet1-[0-9][0-9]*$"     # label constraint regex: all tapes must match
+
+amrecover_do_fsf yes           # amrecover will call amrestore with the
+                               # -f flag for faster positioning of the tape.
+amrecover_check_label yes      # amrecover will call amrestore with the
+                               # -l flag to check the label.
+amrecover_changer "@DEFAULT_TAPE_DEVICE@"      # amrecover will use the changer if you restore
+                               # from this device.
+                               # It could be a string like 'changer' and
+                               # amrecover will use your changer if you
+                               # set your tape with 'settape changer'
+
+# Specify holding disks.  These are used as a temporary staging area for
+# dumps before they are written to tape and are recommended for most sites.
+# The advantages include: tape drive is more likely to operate in streaming
+# mode (which reduces tape and drive wear, reduces total dump time); multiple
+# dumps can be done in parallel (which can dramatically reduce total dump time.
+# The main disadvantage is that dumps on the holding disk need to be flushed
+# (with amflush) to tape after an operating system crash or a tape failure.
+# If no holding disks are specified then all dumps will be written directly
+# to tape.  If a dump is too big to fit on the holding disk than it will be
+# written directly to tape.  If more than one holding disk is specified then
+# they will all be used based on activity and available space.
+
+holdingdisk hd1 {
+    comment "main holding disk"
+    directory "/dumps/amanda"  # where the holding disk is
+    use -100 Mb                # how much space can we use on it
+                       # a non-positive value means:
+                       #        use all space but that value
+    chunksize 1Gb      # size of chunk if you want big dump to be
+                       # dumped on multiple files on holding disks
+                       #  N Kb/Mb/Gb split images in chunks of size N
+                       #             The maximum value should be
+                       #             (MAX_FILE_SIZE - 1Mb)
+                       #  0          same as INT_MAX bytes
+    }
+#holdingdisk hd2 {
+#    directory "/dumps2/amanda"
+#    use 1000 Mb
+#    }
+#holdingdisk hd3 {
+#    directory "/mnt/disk4"
+#    use 1000 Mb
+#    }
+
+
+# If amanda cannot find a tape on which to store backups, it will run
+# as many backups as it can to the holding disks.  In order to save
+# space for unattended backups, by default, amanda will only perform
+# incremental backups in this case, i.e., it will reserve 100% of the
+# holding disk space for the so-called degraded mode backups.
+# However, if you specify a different value for the `reserve'
+# parameter, amanda will not degrade backups if they will fit in the
+# non-reserved portion of the holding disk.
+
+# reserve 30 # percent
+# This means save at least 30% of the holding disk space for degraded
+# mode backups.  
+
+autoflush no #
+# if autoflush is set to yes, then amdump will schedule all dump on
+# holding disks to be flush to tape during the run.
+
+# The format for a ColumnSpec is a ',' seperated list of triples.
+# Each triple consists of
+#   + the name of the column (as in ColumnNameStrings)
+#   + prefix before the column
+#   + the width of the column, if set to -1 it will be recalculated
+#     to the maximum length of a line to print.
+# Example:
+#      "Disk=1:17,HostName=1:10,OutKB=1:7"
+# or
+#      "Disk=1:-1,HostName=1:10,OutKB=1:7"
+#        
+# You need only specify those colums that should be changed from
+# the default. If nothing is specified in the configfile, the
+# above compiled in values will be in effect, resulting in an
+# output as it was all the time.
+# The names of the colums are:
+# HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
+# TapeTime and TapeRate.
+#                                                      ElB, 1999-02-24.
+# columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
+
+
+# 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.  Some sites use /usr/local/var and some /usr/adm.
+# Create an amanda directory under there.  You need a separate infofile and
+# logdir for each configuration, so create subdirectories for each conf and
+# put the files there.  Specify the locations below.
+
+# Note that, although the keyword below is infofile, it is only so for
+# historic reasons, since now it is supposed to be a directory (unless
+# you have selected some database format other than the `text' default)
+infofile "/etc/amanda/DailySet1/curinfo"       # database DIRECTORY
+logdir   "/etc/amanda/DailySet1"               # log directory
+indexdir "/etc/amanda/DailySet1/index"         # index directory
+#tapelist "@CONFIG_DIR/DailySet1/tapelist"     # list of used tapes
+# tapelist is stored, by default, in the directory that contains amanda.conf
+
+# 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.
+
+# A filemark is the amount of wasted space every time a tape section
+# ends.  If you run `make tapetype' in tape-src, you'll get a program
+# that generates tapetype entries, but it is slow as hell, use it only
+# if you really must and, if you do, make sure you post the data to
+# the amanda mailing list, so that others can use what you found out
+# by searching the archives.
+
+# 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.
+
+# If you want amanda to print postscript paper tape labels
+# add a line after the comment in the tapetype of the form
+#    lbl-templ "/path/to/postscript/template/label.ps"
+
+# if you want the label to go to a printer other than the default
+# for your system, you can also add a line above for a different
+# printer. (i usually add that line after the dumpuser specification)
+
+# dumpuser "operator"     # the user to run dumps under
+# printer "mypostscript"  # printer to print paper label on
+
+# here is an example of my definition for an EXB-8500
+
+# define tapetype EXB-8500 {
+# ...
+#     lbl-templ "/etc/amanda/config/lbl.exabyte.ps"
+# }
+
+
+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 1536 kbytes          # 1.5 Mb/s
+}
+
+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"
+    # data provided by Rob Browning <rlb@cs.utexas.edu>
+    length 1930 mbytes
+    filemark 111 kbytes
+    speed 468 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
+}
+
+
+# dumptypes
+#
+# These are referred to by the disklist file.  The dumptype specifies
+# certain parameters for dumping including:
+#   auth       - authentication scheme to use between server and client.
+#                Valid values are "bsd", "krb4", "krb5" and "ssh".  
+#                Default: [auth bsd]
+#   comment    - just a comment string
+#   comprate   - set default compression rate.  Should be followed by one or
+#                two numbers, optionally separated by a comma.  The 1st is
+#                the full compression rate; the 2nd is the incremental rate.
+#                If the second is omitted, it is assumed equal to the first.
+#                The numbers represent the amount of the original file the
+#                compressed file is expected to take up.
+#                Default: [comprate 0.50, 0.50]
+#   compress   - specify compression of the backed up data.  Valid values are:
+#                "none"        - don't compress the dump output.
+#                "client best" - compress on the client using the best (and
+#                                probably slowest) algorithm.
+#                "client fast" - compress on the client using fast algorithm.
+#                "client custom" - compress using your custom client compression program.
+#                                  use client_custom_compress "PROG" to specify
+#                                  the custom compression program.
+#                                  PROG must not contain white space.
+#                "server best" - compress on the tape host using the best (and
+#                                probably slowest) algorithm.
+#                "server fast" - compress on the tape host using a fast
+#                                algorithm.  This may be useful when a fast
+#                                tape host is backing up slow clients.
+#                "server custom" - compress using your server custom compression program.
+#                                  use server_custom_compress "PROG" to specify
+#                                  the custom compression program.
+#                                  PROG must not contain white space.
+#                Default: [compress client fast]
+#   dumpcycle  - set the number of days in the dump cycle, ie, set how often a
+#                full dump should be performed.  Default: from DUMPCYCLE above
+#   estimate      Determine the way AMANDA does it's estimate. 
+#                "client"      - Use the same program as the dumping program,
+#                              this is the most accurate way to do estimates, 
+#                              but it can take a long time.
+#                "calcsize"    - Use a faster program to do estimates, but the
+#                              result is less accurate.
+#                "server"      - Use only statistics from the previous run to 
+#                              give an estimate, 
+#                              it takes only a few seconds but the result is not 
+#                              accurate if your disk usage changes from day to day.
+#                Default: [client]
+#   encrypt     - specify encryption of the backed up data. Valid values are:
+#                "none"   - don't encrypt the dump output.
+#                "client" - encrypt on the client using the program specified by 
+#                            client_encrypt "PROG".
+#                           Use client_decrypt_option to specify the decrypt- 
+#                            parameter, default is "-d".
+#                            PROG and decrypt-parameter must not contain white space.     
+#                "server" - encrypt on the server using the program specified by 
+#                            server_encrypt "PROG".
+#                            Use server_decrypt_option to specify the decrypt- 
+#                            parameter, default is "-d".
+#                            PROG and decrypt-parameter must not contain white space.
+#                 Default: [none]
+#   exclude    - specify files and directories to be excluded from the dump.
+#                Useful with gnutar only; silently ignored by dump and samba.
+#                Valid values are:
+#                "pattern"       - a shell glob pattern defining which files
+#                                  to exclude.
+#                                  gnutar gets --exclude="pattern"
+#                list "filename" - a file (on the client!) containing patterns
+#                                  re's (1 per line) defining which files to
+#                                  exclude.
+#                                  gnutar gets --exclude-from="filename"
+#                Note that the `full pathname' of a file within its
+#                filesystem starts with `./', because of the way amanda runs
+#                gnutar: `tar -C $mountpoint -cf - --lots-of-options .' (note
+#                the final dot!)  Thus, if you're backing up `/usr' with a
+#                diskfile entry like ``host /usr gnutar-root', but you don't
+#                want to backup /usr/tmp, your exclude list should contain
+#                the pattern `./tmp', as this is relative to the `/usr' above.
+#                Please refer to the man-page of gnutar for more information.
+#                If a relative pathname is specified as the exclude list,
+#                it is searched from within the directory that is
+#                going to be backed up.
+#                Default: include all files
+#   holdingdisk        - should the holding disk be used for this dump.  Useful for
+#                dumping the holding disk itself.  Default: [holdingdisk yes]
+#   ignore     - do not back this filesystem up.  Useful for sharing a single
+#                disklist in several configurations.
+#   index      - keep an index of the files backed up.  Default: [index no]
+#   kencrypt   - encrypt the data stream between the client and server.
+#                Default: [kencrypt no]
+#   maxdumps   - max number of concurrent dumps to run on the client.
+#                Default: [maxdumps 1]
+#   maxpromoteday - max number of day for a promotion, set it 0 if you don't
+#                want promotion, set it to 1 or 2 if your disk get
+#                overpromoted.
+#                Default: [10000]
+#   priority   - priority level of the dump.  Valid levels are "low", "medium"
+#                or "high".  These are really only 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 at least dumped.  Default: [priority medium]
+#   program    - specify the dump system to use.  Valid values are "DUMP" and
+#                "GNUTAR".  Default: [program "DUMP"].
+#   record     - record the backup in the time-stamp-database of the backup
+#                program (e.g. /var/lib/dumpdates for DUMP or
+#                @GNUTAR_LISTED_INCREMENTAL_DIRX@ for GNUTAR.).
+#                Default: [record yes]
+#   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.
+#   starttime  - delay the start of the dump?  Default: no delay
+#   strategy   - set the dump strategy.  Valid strategies are currently:
+#                "standard" - the standard one.
+#                "nofull"   - do level 1 dumps every time.  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.
+#                "noinc"    - do level 0 dumps every time.
+#                "skip"     - skip all dumps.  Useful for sharing a single
+#                             disklist in several configurations.
+#                "incronly" - do only incremental dumps. This is similar
+#                              to strategy 'nofull', but will increase
+#                              the dump level as usual. Full dumps will
+#                              only be performed when an 'amadmin force' 
+#                              has been issued 
+#                Default: [strategy standard]
+# tape_splitsize - (optional) split dump file into pieces of a specified size.
+#                This allows dumps to be spread across multiple tapes, and can
+#                potentially make more efficient use of tape space.  Note that
+#                if this value is too large (more than half the size of the
+#                average dump being split), substantial tape space can be
+#                wasted.  If too small, large dumps will be split into
+#                innumerable tiny dumpfiles, adding to restoration complexity.
+#                A good rule of thumb, usually, is 1/10 of the size of your
+#                tape.  Default: [disabled]
+# split_diskbuffer - (optional) When dumping a split dump  in  PORT-WRITE
+#                 mode (usually meaning "no holding disk"), buffer the split
+#                chunks to a file in the directory specified by this option.
+#                Default: [none]
+# fallback_splitsize - (optional) When dumping a split dump  in  PORT-WRITE
+#                 mode, if no split_diskbuffer is specified (or if we somehow
+#                 fail to use our split_diskbuffer), we must buffer split
+#                 chunks in memory.  This specifies the maximum size split
+#                 chunks can be in this scenario, and thus the maximum amount
+#                 of memory consumed for in-memory splitting.  Default: [10m]
+#
+# Note that you may specify previously defined dumptypes as a shorthand way of
+# defining parameters.
+
+define dumptype global {
+    comment "Global definitions"
+    # This is quite useful for setting global parameters, so you don't have
+    # to type them everywhere.  All dumptype definitions in this sample file
+    # do include these definitions, either directly or indirectly.
+    # There's nothing special about the name `global'; if you create any
+    # dumptype that does not contain the word `global' or the name of any
+    # other dumptype that contains it, these definitions won't apply.
+    # Note that these definitions may be overridden in other
+    # dumptypes, if the redefinitions appear *after* the `global'
+    # dumptype name.
+    # You may want to use this for globally enabling or disabling
+    # indexing, recording, etc.  Some examples:
+    # index yes
+    # record no
+    # split_diskbuffer "/raid/amanda"
+    # fallback_splitsize 64m
+}
+
+define dumptype always-full {
+    global
+    comment "Full dump of this filesystem always"
+    compress none
+    priority high
+    dumpcycle 0
+}
+
+define dumptype root-tar {
+    global
+    program "GNUTAR"
+    comment "root partitions dumped with tar"
+    compress none
+    index
+#   exclude list "/etc/amanda/exclude.gtar"
+    priority low
+}
+
+define dumptype user-tar {
+    root-tar
+    comment "user partitions dumped with tar"
+    priority medium
+}
+
+define dumptype user-tar-span {
+    root-tar
+    tape_splitsize 3 Gb
+    comment "tape-spanning user partitions dumped with tar"
+    priority medium
+}
+
+define dumptype high-tar {
+    root-tar
+    comment "partitions dumped with tar"
+    priority high
+}
+
+define dumptype comp-root-tar {
+    root-tar
+    comment "Root partitions with compression"
+    compress client fast
+}
+
+define dumptype comp-user-tar {
+    user-tar
+    compress client fast
+}
+
+define dumptype comp-user-tar-span {
+    user-tar-span
+    compress client fast
+}
+
+define dumptype holding-disk {
+    global
+    comment "The master-host holding disk itself"
+    holdingdisk no # do not use the holding disk
+    priority medium
+}
+
+define dumptype comp-user {
+    global
+    comment "Non-root partitions on reasonably fast machines"
+    compress client fast
+    priority medium
+}
+
+define dumptype comp-user-span {
+    global
+    tape_splitsize 5 Gb
+    comment "Tape-spanning non-root partitions on reasonably fast machines"
+    compress client fast
+    priority medium
+}
+
+define dumptype nocomp-user {
+    comp-user
+    comment "Non-root partitions on slow machines"
+    compress none
+}
+
+define dumptype nocomp-user-span {
+    comp-user-span
+    comment "Tape-spanning non-root partitions on slow machines"
+    compress none
+}
+
+define dumptype comp-root {
+    global
+    comment "Root partitions with compression"
+    compress client fast
+    priority low
+}
+
+define dumptype nocomp-root {
+    comp-root
+    comment "Root partitions without compression"
+    compress none
+}
+
+define dumptype comp-high {
+    global
+    comment "very important partitions on fast machines"
+    compress client best
+    priority high
+}
+
+define dumptype nocomp-high {
+    comp-high
+    comment "very important partitions on slow machines"
+    compress none
+}
+
+define dumptype nocomp-test {
+    global
+    comment "test dump without compression, no /var/lib/dumpdates recording"
+    compress none
+    record no
+    priority medium
+}
+
+define dumptype comp-test {
+    nocomp-test
+    comment "test dump with compression, no /var/lib/dumpdates recording"
+    compress client fast
+}
+
+define dumptype custom-compress {
+   global
+   program "GNUTAR"
+   comment "test dump with custom client compression"
+   compress client custom
+   client_custom_compress "/usr/bin/bzip2"
+}
+
+define dumptype encrypt-fast {
+   global
+   program "GNUTAR"
+   comment "test dump with fast client compression and server symmetric encryption"
+   compress client fast
+   encrypt server
+   server_encrypt "/usr/local/sbin/amcrypt"
+   server_decrypt_option "-d"
+}
+
+# network interfaces
+#
+# These are referred to by the disklist file.  They define the attributes
+# of the network interface that the remote machine is accessed through.
+# Notes: - netusage above defines the attributes that are used when the
+#          disklist entry doesn't specify otherwise.
+#        - the values below are only samples.
+#        - specifying an interface does not force the traffic to pass
+#          through that interface.  Your OS routing tables do that.  This
+#          is just a mechanism to stop Amanda trashing your network.
+# Attributes are:
+#      use             - bandwidth above which amanda won't start
+#                        backups using this interface.  Note that if
+#                        a single backup will take more than that,
+#                        amanda won't try to make it run slower!
+
+define interface local {
+    comment "a local disk"
+    use 1000 kbps
+}
+
+define interface le0 {
+    comment "10 Mbps ethernet"
+    use 400 kbps
+}
+
+# You may include other amanda configuration files, so you can share
+# dumptypes, tapetypes and interface definitions among several
+# configurations.
+
+#includefile "/etc/amanda/amanda.conf.main"
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..bbb56dc
--- /dev/null
@@ -0,0 +1,759 @@
+amanda (1:2.6.1p2-2) unstable; urgency=low
+
+  * add build depend on procps, closes: #552390
+  * add dh_perl call to rules and ${perl:Depends} to amanda-common deps so
+    that we comply with Perl policy, closes: #582220
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 14 Jun 2010 10:21:11 -0600
+
+amanda (1:2.6.1p2-1) unstable; urgency=low
+
+  * new upstream version
+  * move more files out of amanda-common that really belong elsewhere
+  * deliver /usr/lib/amanda/application/am[gs]tar setuid, closes: #558094
+  * leave user backup groups alone on purge, closes: #572933
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 15 Mar 2010 15:23:20 -0600
+
+amanda (1:2.6.1p1-2) unstable; urgency=low
+
+  * calcsize needs to be setuid, closes: #551156
+  * patch from upstream to fix init of xml_app.result in diskfile.c, 
+    closes: #550098
+  * add note to server package README.Debian regarding mtio operations that
+    take too long putting noise in dmesg, closes: #506397
+  * merge Finnish translation of the debconf templates, closes: #535214
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 16 Oct 2009 02:10:52 -0600
+
+amanda (1:2.6.1p1-1) unstable; urgency=low
+
+  * new upstream version, closes: #527090, #527489, #486405, #488713
+  * tweak configure to ensure ssh support is enabled, closes: #524618, #492352
+  * update debian/control to include my git packaging repo location
+  * resolve possible bashisms, closes: #530041
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 08 Sep 2009 11:40:42 -0600
+
+amanda (1:2.5.2p1-5) unstable; urgency=low
+
+  * add --without-ipv6 as a short-term fix for amdump connectivity problems,
+    closes: #482754, #501281, #470202
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 26 Mar 2009 22:52:51 -0600
+
+amanda (1:2.5.2p1-4) unstable; urgency=high
+
+  * high priority bug fixes intended for lenny release
+  * update version thresholds in Replaces to ease upgrades, closes: #476583
+  * don't set maxdumpsize in the default amanda.conf, closes: #475524
+  * freshen to latest standards version
+  * revert chg-multi.sh.in and patch since the new version previously pulled 
+    in caused more problems than it solved, closes: #486384
+  * undo traps on amverify exit to prevent double reports, closes: #487405
+  * correct paths in amcrypt-ossl-asym(8) xml source, closes: #486739
+
+ -- Bdale Garbee <bdale@gag.com>  Sat, 16 Aug 2008 16:03:27 -0300
+
+amanda (1:2.5.2p1-3) unstable; urgency=low
+
+  * fix "bashisms" in the amcleanup and amverify scripts.  closes: #464489
+  * merge updated Russian translation, closes: #471030
+  * move example configuration 'DailySet1' from /etc/amanda to 
+    /usr/share/doc/amanda-server/examples to reduce confusion, update
+    the amanda-server README.Debian with fresh install notes.  closes: #420023
+  * move some binaries out of amanda-common into -server and -client
+  * harden forcing of /usr/bin/mail instead of /usr/bin/Mail, closes: #475771
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 16 Apr 2008 00:02:13 -0600
+
+amanda (1:2.5.2p1-2) unstable; urgency=low
+
+  * document holding disk constraint in amanda-server README.Debian file,
+    closes: #465746
+  * patch from Wolfgang Weisselberg for a problem in amstatus, closes: #471240
+  * enable both with-bsdtcp-security and with-bsdudp-security in configure,
+    perhaps that will help resolve some of the problems users are having
+    with 2.5.2?
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 20 Mar 2008 18:06:58 -0600
+
+amanda (1:2.5.2p1-1) unstable; urgency=low
+
+  * new upstream version, closes: #434607, #434606
+  * pull fresher chg-multi.sh.in from upstream to fix syntax error
+  * drop reference to non-existent 'taper' package in control, closes: #444330
+  * a number of tweaks to address issues found by lintian
+  * incorporate Galician translation, closes: #414113
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 07 Oct 2007 18:39:45 -0600
+
+amanda (1:2.5.1p3-3) unstable; urgency=low
+
+  * fix amcrypt-ossl and amcryopt-ossl-asym to use the right username for
+    Debian systems, closes: #417818
+  * patch from upstream for problem in get_fs_stats(), closes: #420100
+  * patch from upstream for problem in sendsize.c, closes: #420076
+  * replace netbase dependency with update-inetd
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 15 May 2007 11:44:34 -0600
+
+amanda (1:2.5.1p3-2) unstable; urgency=low
+
+  * fold in diff from NMU of 1:2.5.1p1-2.1 by Peter Palfrader, closes: #399790
+    Do not fail postrm when removing the backup user from either
+    group disk or tape does not succeed.  Also, try this only
+    when the backup user is in those groups to begin with.  Also
+    handles the case of deluser not existing anymore.
+    Based in parts on the patch provided by Andreas Henriksson and
+    the cupsys postinst script.
+  * remove useless redundant clause in postrm, closes: #411739
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 21 Feb 2007 04:22:49 +0900
+
+amanda (1:2.5.1p3-1) unstable; urgency=low
+
+  * new upstream version, closes: #402221
+  * merge updated es.po, closes: #409316
+  * merge updated pt.po, closes: #409697
+  * fix for segfault in amfetchdump, closes: #411470
+  * update inetd and xinetd configs for new security model, closes: #402215
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 20 Feb 2007 13:05:28 +0900
+
+amanda (1:2.5.1p1-2) unstable; urgency=medium
+
+  * fix broken way of setting default CLN_AMANDATES in client-src/clientconf.c
+    so that the file ends up where we expect it, closes: #394796
+  * make this medium priority because of the amandates location problem
+  * updated German translation, closes: #396029
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 29 Oct 2006 11:24:39 -0700
+
+amanda (1:2.5.1p1-1) unstable; urgency=low
+
+  * new upstream version, closes: #395319
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 26 Oct 2006 15:29:08 -0600
+
+amanda (1:2.5.1-1) unstable; urgency=low
+
+  * new upstream version, closes: #361716
+  * incorporate patch from NMU by Martin Krafft based on a suggestion by
+    Bill Alombert (thanks!), accounting for the fact that we now deliver
+    content in amanda-common that used to be in amanda-client, closes: #391026
+  * updated ja.po from Hideki Yamane, closes: #392153
+  * change debconf notification about old/rare conflict with amandadates file
+    to be of type 'error' instead of 'note', closes: #388707
+  * add --with-ssh-security to configure and note issue with suid of dumper
+    to README.Debian, closes: #365306
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 18 Oct 2006 01:02:23 -0600
+
+amanda (1:2.5.0p2-2) unstable; urgency=low
+
+  * merge updated French translation, closes: #369243
+  * merge updated Italian translation, closes: #369588
+  * merge updated Czech translaterion, closes: #370299
+  * merge updated Dutch translaterion, closes: #374850
+  * merge updated Swedish translaterion, closes: #375747
+  * rework postinst to use adduser instead of usermod to add user backup to
+    groups disk and tape, and add postrm support for removing user backup from
+    those groups on purge, closes: #380336
+  * patch from upstream 2.5.1b1 via Geert Uytterhoeven to support tar 1.15.91,
+    closes: #378558
+  * accept patch from Raphael Pinson adding xinetd support
+  * Clean debian/po/templates.pot after build
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 28 Aug 2006 09:15:23 -0400
+
+amanda (1:2.5.0p2-1) unstable; urgency=low
+
+  * new upstream version
+  * freshen delivered default amanda.conf, closes: #359036
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 25 May 2006 22:59:16 -0600
+
+amanda (1:2.5.0-2) unstable; urgency=low
+
+  * tighten amandahosts permissions to user-only in the amanda-common postinst
+
+ -- Bdale Garbee <bdale@gag.com>  Mon,  3 Apr 2006 05:03:29 -0700
+
+amanda (1:2.5.0-1) unstable; urgency=low
+
+  * new upstream version, closes: #360085
+  * add --with-maxtapeblocksize=256 to configure, to better support LTO-3
+    tapes like the HP Ultrium 960
+  * tweak packaging to handle changes in upstream makefiles, etc
+  * fix overlong line in amrestore man page synopsys
+  * move private shlibs to the amanda-common package to simplify deps
+
+ -- Bdale Garbee <bdale@gag.com>  Mon,  3 Apr 2006 00:28:17 -0700
+
+amanda (1:2.4.5p1-2) unstable; urgency=low
+
+  * now that we're using it for debugging info, make sure /var/log/amanda
+    exists in the amanda-common postinst
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 29 Dec 2005 11:57:11 -0700
+
+amanda (1:2.4.5p1-1) unstable; urgency=low
+
+  * new upstream version
+  * add --with-debugging=/var/log/amanda to avoid potentially insecure use
+    of /tmp, closes: #226139
+  * fix typo in chg-null.sh.in causing it to not use AMANDA_DBGDIR definition
+  * patch chg-null.sh.in to use defined value of tapedev, closes: #219656
+  * patch from Jan Nordholz to fix off-by-one error, closes: #339588
+  * fix misleading usage example in amtoc man page, closes: #297690
+  * add a note to amanda-server's README.Debian about how to keep missing
+    exclude files from making tar not work, closes: #168229, #185312, #186285
+  * fix bogus reported sizes when using dump caused by assuming dump is 
+    reporting 512 byte instead of 1k blocks, closes: #234173
+    Debian reports results in 1k, not 512-byte blocks,
+  * remove globbing example from amanda man page that is hopelessly broken
+    and generating man errors
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 29 Dec 2005 01:36:23 -0700
+
+amanda (1:2.4.5-2) unstable; urgency=low
+
+  * merge Arabic translation, closes: #320759
+  * merge Vietnamese translation, closes: #307735
+  * allow debconf-2.0 as a dependency alternative
+  * update dependencies in light of libreadline5-dev, closes: #326390
+  * don't blindly remove non-conffiles in /etc/amanda, closes: #282772
+  * fix strange dump results with smbclient 3.0, closes: #226798, #313553
+  * pass --numeric-owner to tar from sendsize to improve estimation speed
+    on systems using mixed libnss modules, closes: #247661
+  * have amanda-common postinst add /usr/sbin to backup user's path, 
+    closes: #74045
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 28 Sep 2005 00:16:44 -0600
+
+amanda (1:2.4.5-1) unstable; urgency=low
+
+  * new upstream version, closes: #299586, #308559
+
+ -- Bdale Garbee <bdale@gag.com>  Fri,  3 Jun 2005 09:02:42 -0600
+
+amanda (1:2.4.4p3-3) unstable; urgency=low
+
+  * use /usr/bin/mail instead of /usr/bin/Mail, closes: #296022
+  * incorporate Czech translation from Miroslav Kure, closes: #297596
+
+ -- Bdale Garbee <bdale@gag.com>  Sun, 29 May 2005 17:02:16 +0200
+
+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/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/config b/debian/config
new file mode 100644 (file)
index 0000000..5b622bb
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+. /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..9d46fc3
--- /dev/null
@@ -0,0 +1,115 @@
+Source: amanda
+Section: utils
+Priority: optional
+Maintainer: Bdale Garbee <bdale@gag.com>
+Vcs-Git: git://git.gag.com/debian/amanda
+Vcs-Browser: http://git.gag.com/?p=debian/amanda
+Build-Depends: debhelper (>= 5), dump, gnuplot, libncurses5-dev, libreadline-dev, libtool, flex, perl, smbclient, bsd-mailx | mailx, lpr, mtx, xfsdump, po-debconf, autotools-dev, libglib2.0-dev, procps
+Standards-Version: 3.8.4
+
+Package: amanda-common
+Architecture: any
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, update-inetd, tar (>=1.12), perl5, bsd-mailx | mailx, debconf | debconf-2.0, adduser, openbsd-inetd | inet-superserver
+Suggests: amanda-server (= ${binary:Version}) | amanda-client (= ${binary:Version})
+Conflicts: amanda
+Replaces: amanda, amanda-client
+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: ${misc:Depends}, ${shlibs:Depends}, amanda-common (= ${binary:Version}), bsd-mailx | mailx
+Suggests: perl5, gnuplot, amanda-client (= ${binary:Version}), cpio | mt-st
+Conflicts: amanda, amanda-common (<< 1:2.5.2p1-3)
+Replaces: amanda-common (<< 1:2.5.2p1-3)
+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, ... 
+ .
+  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: ${misc:Depends}, ${shlibs:Depends}, amanda-common (= ${binary:Version})
+Suggests: gnuplot, dump, smbclient
+Conflicts: amanda, amanda-common (<< 1:2.5.2p1-3)
+Replaces: amanda-common (<< 1:2.5.2p1-3)
+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, ... 
+ .
+  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..6f83607
--- /dev/null
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
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/gbp.conf b/debian/gbp.conf
new file mode 100644 (file)
index 0000000..1139419
--- /dev/null
@@ -0,0 +1,46 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+# the default build command:
+#builder = debuild -i\.git/ -I.git
+# the default clean command:
+#cleaner = debuild clean
+# the default branch for upstream sources:
+upstream-branch = upstream
+# the default branch for the debian patch:
+debian-branch = master
+# the default tag formats used:
+#upstream-tag = upstream/%(version)s
+#debian-tag = debian/%(version)s
+# use pristine-tar:
+pristine-tar = True
+
+# Options only affecting git-buildpackage
+[git-buildpackage]
+#upstream-branch = dfsgclean
+# uncomment this to automatically GPG sign tags
+#sign-tags = True
+# keyid to GPG sign tags with
+#keyid = 0xdeadbeef
+# push to a remote repository after a successful tag: 
+posttag = git push --mirror
+# use this for more svn-buildpackage like behaviour:
+export-dir = ../build-area/amanda/
+#tarball-dir = ../tarballs/
+
+# Options only affecting git-import-orig
+[git-import-orig]
+#upstream-branch = newupstream
+#debian-branch = dfsgclean
+#filter = .svn
+
+# Options only affecting git-import-dsc
+[git-import-dsc]
+#upstream-branch = svn-upstream
+#filter = [ 'CVS', '.cvsignore' ]
+
+# Options only affecting git-dch
+[git-dch]
+#git-log = --no-merges
+#snapshot-number = snapshot + 1
+
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/ar.po b/debian/po/ar.po
new file mode 100644 (file)
index 0000000..c0b947c
--- /dev/null
@@ -0,0 +1,44 @@
+# translation of ar.po to 
+#
+#    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.
+# Ossama M. Khayat, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda_1:2.4.5-1\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2005-07-19 18:48+0300\n"
+"Last-Translator: Ossama M. Khayat <okhayat@yahoo.com>\n"
+"Language-Team: Arabic <debian-l10n-arabic@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.9.1\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+#, fuzzy
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "الرجاء دمج /var/lib/amandates و /var/lib/amanda/amandates."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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/cs.po b/debian/po/cs.po
new file mode 100644 (file)
index 0000000..d8b6636
--- /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.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-06-04 17:06+0200\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Spojte prosím /var/lib/amandates a /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"V systému máte soubor /var/lib/amandates i /var/lib/amanda/amandates. Oba "
+"soubory prohlédněte, zajímavý obsah slučte do /var/lib/amanda/amandates a "
+"starý soubor /var/lib/amandates smažte."
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644 (file)
index 0000000..f6986c8
--- /dev/null
@@ -0,0 +1,44 @@
+#
+#    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: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-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"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+#, fuzzy
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Venligst flet /var/lib/amandates og /var/lib/amanda/amandates."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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..8453b9d
--- /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.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-10-29 15:05+0100\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: de <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Bitte vereinigen Sie /var/lib/amandates und /var/lib/amanda/amandates."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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..1fa2fea
--- /dev/null
@@ -0,0 +1,60 @@
+# amanda translation to spanish
+# Copyright (C) 2007 Free Software Foundation, Inc.
+# This file is distributed under the same license as the package.
+#
+# Changes:
+# - Initial translation
+#     Manuel Porras Peralta , 2007
+#
+#
+#  Traductores, si no conoce el formato PO, merece la pena leer la
+#  documentación de gettext, especialmente las secciones dedicadas a este
+#  formato, por ejemplo ejecutando:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+#   http://www.debian.org/intl/spanish/
+#   especialmente las notas y normas de traducción en
+#   http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+#   /usr/share/doc/po-debconf/README-trans
+#   o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Si tiene dudas o consultas sobre esta traducción consulte con el último
+# traductor (campo Last-Translator) y ponga en copia a la lista de
+# traducción de Debian al español (<debian-l10n-spanish@lists.debian.org>)
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2007-01-29 14:29+0100\n"
+"Last-Translator: Manuel Porras Peralta «Venturi» <venturi.debian@gmail.com>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Por favor, combine «/var/lib/amandates» y «/var/lib/amanda/amandates»"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 archivos «/var/lib/amandates» y «/var/lib/amanda/"
+"amandates». Por favor, revíselos, combine los contenidos que necesite en el "
+"archivo «/var/lib/amanda/amandates», y borre el archivo antiguo «/var/lib/"
+"amandates»."
diff --git a/debian/po/fi.po b/debian/po/fi.po
new file mode 100644 (file)
index 0000000..3219c79
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright (C) 2009
+# This file is distributed under the same license as the amanda package.
+#
+# Esko Arajärvi <edu@iki.fi>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2009-06-30 22:11+0300\n"
+"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 0.3\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Yhdistä /var/lib/amandates ja /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"Järjestelmässä on sekä tiedosto /var/lib/amandates että tiedosto "
+"/var/lib/amanda/amandates. Tarkasta molemmat tiedostot ja yhdistä "
+"tarvittava sisältö tiedostoon /var/lib/amanda/amandates. Poista tämän "
+"jälkeen vanha tiedosto /var/lib/amandates."
+
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644 (file)
index 0000000..93ee324
--- /dev/null
@@ -0,0 +1,49 @@
+# translation of fr.po to French
+#
+#    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
+#
+# Christian Perrier <bubulle@debian.org>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: fr\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-05-28 17:13+0200\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"
+"X-Generator: KBabel 1.11.2\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr ""
+"Fusion indispensable de /var/lib/amandates et /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"Les deux fichiers /var/lib/amandates et /var/lib/amanda/amandates existent. "
+"Veuillez les examiner 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/gl.po b/debian/po/gl.po
new file mode 100644 (file)
index 0000000..c6d3a51
--- /dev/null
@@ -0,0 +1,34 @@
+# Galician translation of amanda's debconf templates
+# This file is distributed under the same license as the amanda package.
+# Jacobo Tarrio <jtarrio@debian.org>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2007-03-09 09:24+0100\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Combine /var/lib/amandates e /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"No seu sistema existen os dous ficheiros, /var/lib/amandates e /var/lib/"
+"amanda/amandates. Revise os ficheiros e combine o contido interesante no "
+"ficheiro /var/lib/amanda/amandates e elimine o ficheiro antigo, /var/lib/"
+"amandates."
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644 (file)
index 0000000..b4042fc
--- /dev/null
@@ -0,0 +1,34 @@
+# Italian (it) translation of debconf templates for amanda
+# Copyright (C) 2004 Software in the Public Interest
+# This file is distributed under the same license as the amanda package.
+# Luca Monducci <luca.mo@tiscali.it>, 2004-2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1:2.5.0p2 italian debconf templates\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-05-30 10:30+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"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Unire /var/lib/amandates e /var/lib/amanda/amndates."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"Esistono sia /var/lib/amandates che /var/lib/amanda/amandates. Controllare i "
+"file e unire tutte le parti utili in /var/lib/amanda/amandates e poi "
+"rimuovere il file /var/lib/amanadates."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644 (file)
index 0000000..d07e908
--- /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.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 2.5.0p2-2.1\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-10-11 00:08+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "/var/lib/amandates と /var/lib/amanda/amandates をマージしてください。"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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..bad639d
--- /dev/null
@@ -0,0 +1,49 @@
+# translation of amanda 1:2.5.0p2-1_templates.po to Dutch
+# This file is distributed under the same license as the amanda package.
+# Please see debian/copyright.
+#
+#    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.
+#
+# Luk Claes <luk.claes(AT)ugent(DOT)be>, 2004
+# This is an unofficial translation
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1:2.5.0p2-1\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-06-18 20:45+0100\n"
+"Last-Translator: Kurt De Bree <kdebree(AT)telenet(DOT)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"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Voeg /var/lib/amandates en /var/lib/amanda/amandates samen."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"Zowel /var/lib/amandates als /var/lib/amanda/amandates zijn op uw "
+"systeemaanwezig. Kijk deze bestanden na en combineer de inhoud 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..dc86052
--- /dev/null
@@ -0,0 +1,36 @@
+# Portuguese translation of amanda debconf messages.
+# Copyright (C) 2007 Carlos Lisboa
+# This file is distributed under the same license as the amanda package.
+# Carlos Lisboa <carloslisboa@gmail.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2007-02-04 12:24+0000\n"
+"Last-Translator: Carlos Lisboa <carloslisboa@gmail.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr ""
+"Por favor faça a fusão de /var/lib/amandates e /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"Possui tanto o /var/lib/amandates como o /var/lib/amanda/amandates. Por "
+"favor reveja esses ficheiros, e faça a fusão do conteúdo que pretende para o "
+"local /var/lib/amanda/amandates, e remova 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..6e58cac
--- /dev/null
@@ -0,0 +1,44 @@
+#
+#    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: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-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"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+#, fuzzy
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Por favor junte /var/lib/amandates e /var/lib/amanda/amandates."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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..fcc49ee
--- /dev/null
@@ -0,0 +1,46 @@
+# translation of amanda_1:2.5.2p1-1_ru.po to Russian
+#
+#    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.
+#
+# Yuri Kozlov <kozlov.y@gmail.com>, 2008.
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1:2.5.2p1-1\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2008-03-15 13:30+0300\n"
+"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
+"Language-Team: Russian <debian-l10n-russian@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.11.4\n"
+"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr ""
+"Объедините настройки из /var/lib/amandates и /var/lib/amanda/amandates."
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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..f00f0d4
--- /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.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1:2.5.0p2-1\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2006-06-27 23:05+0100\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Sammanfoga /var/lib/amandates och /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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. Granska 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..a4f22cf
--- /dev/null
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-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"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr ""
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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/po/vi.po b/debian/po/vi.po
new file mode 100644 (file)
index 0000000..1047221
--- /dev/null
@@ -0,0 +1,35 @@
+# Vietnamese Translation for amanda-1/2.4.4p3-2.
+# Copyright © 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: amanda 1/2.4.4p3-2\n"
+"Report-Msgid-Bugs-To: amanda@packages.debian.org\n"
+"POT-Creation-Date: 2008-04-16 01:13-0600\n"
+"PO-Revision-Date: 2005-05-05 13:29+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+#, fuzzy
+msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates"
+msgstr "Hãy kết hợp /var/lib/amandates và /var/lib/amanda/amandates"
+
+#. Type: error
+#. Description
+#: ../templates:1001
+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 ""
+"Bạn có cả hai tập tin /var/lib/amandates và /var/lib/amanda/amandates đều. "
+"Hãy xem lại hai tập tin ấy, rồi kết hợp các nội dung ấy được muốn vào vị trí "
+"amanda/amandates, và xóa bỏ tập tin cũ /var/lib/amandates."
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..3673f1a
--- /dev/null
@@ -0,0 +1,151 @@
+#!/usr/bin/make -f
+# debian/rules for amanda using debhelper
+# Copyright 1998-2009 by Bdale Garbee.  License GPL v2
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+r=$(shell pwd)/debian/amanda-common
+s=$(shell pwd)/debian/amanda-server
+c=$(shell pwd)/debian/amanda-client
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # pick up latest config files provided by autotools-dev
+       cp -f /usr/share/misc/config.sub config/config.sub
+       cp -f /usr/share/misc/config.guess config/config.guess
+       # do we need --{htmldir,dvidir,pdfdir,psdir} to force subdirectories?
+       # should we re-craft this to use --without-server and --without-client,
+       #       and lose the amanda-common package?
+       MAILER=/usr/bin/mail \
+       SSH=/usr/bin/ssh \
+       ./configure \
+               --prefix=/usr \
+               --bindir=/usr/sbin \
+               --libexecdir=/usr/lib/amanda \
+               --without-amlibexecdir \
+               --without-amperldir \
+               --sysconfdir=/etc \
+               --sharedstatedir=/var/lib \
+               --localstatedir=/var/lib \
+               --with-user=backup \
+               --with-group=backup  \
+               --with-tcpportrange=50000,50100 \
+               --with-udpportrange=840,860 \
+               --with-debugging=/var/log/amanda \
+               --with-gnutar-listdir=/var/lib/amanda/gnutar-lists \
+               --with-index-server=localhost \
+               --with-bsd-security \
+               --with-smbclient=/usr/bin/smbclient \
+               --with-amandahosts \
+               --with-ssh-security \
+               --with-bsdtcp-security \
+               --with-bsdudp-security \
+               --without-ipv6
+
+       touch missing
+       touch configure-stamp
+
+build: build-stamp 
+build-stamp: configure-stamp
+       dh_testdir
+       MAILER=/usr/bin/mail make CFLAGS="-O2 -g -Wall \
+               -DAMANDATES_FILE='\"/var/lib/amanda/amandates\"' \
+               -DIGNORE_TAR_ERRORS "
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       [ ! -f Makefile ] || make clean
+       [ ! -f Makefile ] || make distclean
+       -rm -f build-stamp configure-stamp missing config/config.h common-src/genversion
+       -find . -type d -name .deps -exec rm -rf {} \;
+       dh_clean
+
+# call this before packaging for upload when updating template English text
+updatepo:
+       -rm -f debian/po/templates.pot
+       debconf-updatepo
+       
+binary-indep: build
+
+binary-arch: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs -a
+       make install DESTDIR=$(r)
+       install -m 644 debian/amandahosts $(r)/etc/amandahosts
+       dh_installdocs -a
+       dh_installexamples -a
+       cp ChangeLog $(r)/usr/share/doc/amanda-common/changelog
+       cp debian/xinetd.d/amandaidx $(s)/etc/xinetd.d
+       cp debian/xinetd.d/amidxtape $(s)/etc/xinetd.d
+       cp debian/xinetd.d/amanda $(r)/etc/xinetd.d                     
+       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 -r $(r)/usr/share/amanda
+       rm $(s)/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 $(s)/var/log/amanda
+       chmod -R u=rwX,g=rwX,o-rwx $(s)/var/log/amanda
+       chown -R backup:backup $(s)/etc/amanda
+       chmod -R u=rwX,g=rwX,o-rwx $(s)/etc/amanda
+       chown -R backup:backup $(c)/var/lib/amanda/gnutar-lists
+       chmod -R u=rwX,g=rwX,o-rwx $(c)/var/lib/amanda/gnutar-lists
+       # .. setuid
+       chown root:backup \
+               $(c)/usr/lib/amanda/application/amgtar \
+               $(c)/usr/lib/amanda/application/amstar \
+               $(c)/usr/lib/amanda/calcsize \
+               $(c)/usr/lib/amanda/killpgrp \
+               $(c)/usr/lib/amanda/rundump \
+               $(c)/usr/lib/amanda/runtar \
+               $(s)/usr/lib/amanda/dumper \
+               $(s)/usr/lib/amanda/planner \
+               $(s)/usr/sbin/amcheck
+       chmod u=srwx,g=rx,o=r \
+               $(c)/usr/lib/amanda/application/amgtar \
+               $(c)/usr/lib/amanda/application/amstar \
+               $(c)/usr/lib/amanda/calcsize \
+               $(c)/usr/lib/amanda/killpgrp \
+               $(c)/usr/lib/amanda/rundump \
+               $(c)/usr/lib/amanda/runtar \
+               $(s)/usr/lib/amanda/dumper \
+               $(s)/usr/lib/amanda/planner \
+               $(s)/usr/sbin/amcheck
+       install -o root -g root -m 0644 debian/amanda-client.lintian \
+               $(c)/usr/share/lintian/overrides/amanda-client
+#      install -o root -g root -m 0644 debian/amanda-common.lintian \
+#              $(r)/usr/share/lintian/overrides/amanda-common
+       install -o root -g root -m 0644 debian/amanda-server.lintian \
+               $(s)/usr/share/lintian/overrides/amanda-server
+       dh_makeshlibs -pamanda-common --noscripts
+       dh_installdeb -a
+       dh_perl -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
+
+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..b3256ee
--- /dev/null
@@ -0,0 +1,7 @@
+Template: amanda-common/merge_amandates
+Type: error
+_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.
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..bc5d697
--- /dev/null
@@ -0,0 +1,7 @@
+# debian/watch  for amanda
+# format version number, currently 3; this line is compulsory!
+version=3
+# If your package is located on sourceforge, use the following format
+# to automatically use the qa.debian.org redirector, avoiding SF's
+# difficult mirror system.
+http://sf.net/amanda/amanda-([0-9]+\.[0-9]+\.[0-9]+[^b]*)\.tar\.gz   debian  uupdate
diff --git a/debian/xinetd.d/amanda b/debian/xinetd.d/amanda
new file mode 100644 (file)
index 0000000..2b351dd
--- /dev/null
@@ -0,0 +1,15 @@
+# default: on
+# description: The amanda service
+service amanda
+{
+#      only_from       = <Amanda server>
+       socket_type     = dgram
+       protocol        = udp
+       wait            = yes
+       user            = backup
+       group           = backup
+       groups          = yes
+       server          = /usr/lib/amanda/amandad
+       server_args     = -auth=bsd amdump amindexd amidxtaped
+       disable         = no
+}
diff --git a/debian/xinetd.d/amandaidx b/debian/xinetd.d/amandaidx
new file mode 100644 (file)
index 0000000..0a967cf
--- /dev/null
@@ -0,0 +1,15 @@
+#default: on
+# description: The amanda index service
+service amandaidx
+{
+#      only_from       = <Amanda client list>
+       socket_type     = stream
+       protocol        = tcp
+       wait            = no
+       user            = backup
+       group           = backup
+       groups          = yes
+       server          = /usr/lib/amanda/amindexd
+       server_args     = -auth=bsd amdump amindexd amidxtaped
+       disable         = no
+}
diff --git a/debian/xinetd.d/amidxtape b/debian/xinetd.d/amidxtape
new file mode 100644 (file)
index 0000000..3cb8863
--- /dev/null
@@ -0,0 +1,15 @@
+#default: on
+# description: The amanda tape service
+service amidxtape
+{
+#      only_from       = <Amanda client list>
+       socket_type     = stream
+       protocol        = tcp
+       wait            = no
+       user            = backup
+       group           = backup
+       groups          = yes
+       server          = /usr/lib/amanda/amidxtaped
+       server_args     = -auth=bsd amdump amindexd amidxtaped
+       disable         = no
+}
index cec4ac521444b9225d59a6548b996ab1867acd33..6d234a0aeb37ff695a07ec67fd33a544a5d95fcc 100644 (file)
@@ -450,7 +450,7 @@ define tapetype SEAGATE-ULTRIUM-LTO {
 #   program    - specify the dump system to use.  Valid values are "DUMP",
 #                 or "GNUTAR".  Default: [program "DUMP"].
 #   record     - record the backup in the time-stamp-database of the backup
-#                program (e.g. /etc/dumpdates for DUMP or
+#                program (e.g. /var/lib/dumpdates for DUMP or
 #                @GNUTAR_LISTED_INCREMENTAL_DIRX@ for GNUTAR.).
 #                Default: [record yes]
 #   skip-full  - skip the disk when a level 0 is due, to allow full backups
@@ -633,7 +633,7 @@ define dumptype nocomp-high {
 
 define dumptype nocomp-test {
     global
-    comment "test dump without compression, no /etc/dumpdates recording"
+    comment "test dump without compression, no /var/lib/dumpdates recording"
     compress none
     record no
     priority medium
@@ -641,7 +641,7 @@ define dumptype nocomp-test {
 
 define dumptype comp-test {
     nocomp-test
-    comment "test dump with compression, no /etc/dumpdates recording"
+    comment "test dump with compression, no /var/lib/dumpdates recording"
     compress client fast
 }
 
index da67d455808cbd9a24812c672c7b821c6aa36a9e..b19189f923b2b97c00cbd9ae2659e67babc37a31 100644 (file)
 #   program    - specify the dump system to use.  Valid values are "DUMP" 
 #                "STAR" and "GNUTAR".  Default: [program "DUMP"].
 #   record     - record the backup in the time-stamp-database of the backup
-#                program (e.g. /etc/dumpdates for DUMP or
+#                program (e.g. /var/lib/dumpdates for DUMP or
 #                /var/lib/amanda/gnutar-lists for GNUTAR.).
 #                Default: [record yes]
 #   skip-full  - skip the disk when a level 0 is due, to allow full backups
@@ -325,7 +325,7 @@ define dumptype nocomp-high {
 
 define dumptype nocomp-test {
     global
-    comment "test dump without compression, no /etc/dumpdates recording"
+    comment "test dump without compression, no /var/lib/dumpdates recording"
     compress none
     record no
     priority medium
@@ -333,7 +333,7 @@ define dumptype nocomp-test {
 
 define dumptype comp-test {
     nocomp-test
-    comment "test dump with compression, no /etc/dumpdates recording"
+    comment "test dump with compression, no /var/lib/dumpdates recording"
     compress client fast
 }
 
old mode 100755 (executable)
new mode 100644 (file)
index 595ed21073c7ae12aa2c494c08b6852c245223ed..bd2402bc2be05230ce4e71ee76efeb38212c3126 100644 (file)
@@ -1608,8 +1608,8 @@ keyword append the values to the list of values for that property\&.
 \fBrecord\fR \fIboolean\fR
 .RS 4
 Default:
-\fByes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
-/etc/dumpdates
+\fIyes\fR\&. Whether to ask the backup program to update its database (e\&.g\&.
+/var/lib/dumpdates
 for DUMP or
 /usr/local/var/amanda/gnutar\-lists
 for GNUTAR) of time stamps\&. This is normally enabled for daily backups and turned off for periodic archival runs\&.
index 138ef89c2fca149b17f8a1927e17a9e924a567b5..b59c5739d78b53aff24d43a8f1d8dcd8c51468c4 100644 (file)
@@ -89,7 +89,7 @@ defined in the
 \fBamanda\&.conf\fR
 file\&.
 \fIDumptype\fRs specify backup related parameters, such as whether to compress the backups, whether to record backup results in
-/etc/dumpdates, the disk\'s relative priority, etc\&.
+/var/lib/dumpdates, the disk\'s relative priority, etc\&.
 .RE
 .PP
 \fIspindle\fR
index 126e96b6891e51a107e0363adddf2d0022086425..0c76083f596153b24308a6629390095bfee2c57d 100644 (file)
@@ -98,7 +98,7 @@
 <!ENTITY tapelist '<manref name="tapelist" vol="5"/>'>
 
 <!-- IDs for files used by AMANDA-->
-<!ENTITY dumpdates '<filename>/etc/dumpdates</filename>'>
+<!ENTITY dumpdates '<filename>/var/lib/dumpdates</filename>'>
 
 <!-- IDs for AMANDA commands-->
 <!ENTITY amadmin ' <command>amadmin</command>'>
index fe19c50def205d4a77771bd1247661f4c72ce18e..7d4fda62455205c5dceefa33dd1ce644c359b48f 100644 (file)
@@ -2073,8 +2073,8 @@ the property to set, and the others contains its values.
   <term><amkeyword>record</amkeyword> <amtype>boolean</amtype></term>
   <listitem>
 <para>Default:
-<amkeyword>yes</amkeyword>.
-Whether to ask the backup program to update its database (e.g. <filename>/etc/dumpdates</filename>
+<emphasis remap='I'>yes</emphasis>.
+Whether to ask the backup program to update its database (e.g. <filename>/var/lib/dumpdates</filename>
 for DUMP or <filename>/usr/local/var/amanda/gnutar-lists</filename> for GNUTAR) of time stamps.
 This is normally enabled for daily backups and turned off for periodic archival runs.</para>
   </listitem>
index d8abab6bdd2324b2430fc05e580ae8714d615d21..a4bd049c5751d1ada7b961fbd726ea88bfb3d467 100644 (file)
@@ -112,7 +112,7 @@ file.
 specify backup related parameters,
 such as whether to compress the backups,
 whether to record backup results in
-<filename>/etc/dumpdates</filename>, the disk's relative priority, etc.</para>
+<filename>/var/lib/dumpdates</filename>, the disk's relative priority, etc.</para>
   </listitem>
   </varlistentry>
   <varlistentry>
index b04247561552c73fef65777c7dba5846b290f4d7..06660975df6606c5abe657b4f216dfe9d584439c 100644 (file)
@@ -106,7 +106,7 @@ typedef struct disk_s {
     char       *clnt_decrypt_opt;      /* client-side decryption option parameter to use */
     double     comprate[2];            /* default compression rates */
     /* flag options */
-    int                record;                 /* record dump in /etc/dumpdates ? */
+    int                record;                 /* record dump in /var/lib/dumpdates ? */
     int                skip_incr;              /* incs done externally ? */
     int                skip_full;              /* fulls done externally ? */
     int                to_holdingdisk;         /* use holding disk ? */