From: Bdale Garbee Date: Wed, 18 Aug 2004 18:55:21 +0000 (-0600) Subject: Imported Debian patch 2.4.4p3-2 X-Git-Tag: debian/2.4.4p3-2^0 X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=commitdiff_plain;h=df538cb90ac50a17b6cab89577918a81e5a4044c Imported Debian patch 2.4.4p3-2 --- diff --git a/changer-src/chg-scsi.c b/changer-src/chg-scsi.c index 43bf315..01cc133 100644 --- a/changer-src/chg-scsi.c +++ b/changer-src/chg-scsi.c @@ -1303,8 +1303,14 @@ int main(int argc, char *argv[]) break; case COM_LABEL: /* Update BarCode/Label mapping file */ pbarcoderes->action = BARCODE_PUT; + pbarcoderes->data.from = pbarcoderes->data.slot = get_current_slot(slot_file); strcpy(pbarcoderes->data.voltag, com.parameter); - strcpy( pbarcoderes->data.barcode, pDTE[drive_num].VolTag); + if (BarCode(fd) == 1 && emubarcode != 1) + { + strcpy( pbarcoderes->data.barcode, pDTE[drive_num].VolTag); + } else { + strcpy( pbarcoderes->data.barcode, com.parameter); + } MapBarCode(chg.labelfile, pbarcoderes); printf("0 0 0\n"); break; diff --git a/changer-src/chg-zd-mtx.sh.in b/changer-src/chg-zd-mtx.sh.in index 6cf5b18..afa460b 100644 --- a/changer-src/chg-zd-mtx.sh.in +++ b/changer-src/chg-zd-mtx.sh.in @@ -189,6 +189,8 @@ # # autocleancount=99 #### Number of access before a clean. # +# cleancycle=120 #### Time (seconds) to clean drive (default 120) +# # havereader=0 #### If you have a barcode reader, set to 1. # # offline_before_unload=0 #### Does your robot require an diff --git a/client-src/amandates.c b/client-src/amandates.c index e40a9d6..c8f019f 100644 --- a/client-src/amandates.c +++ b/client-src/amandates.c @@ -26,7 +26,7 @@ /* * $Id: amandates.c,v 1.15.8.1 2003/10/22 17:43:33 martinea Exp $ * - * manage amandates file, that mimics /etc/dumpdates, but stores + * manage amandates file, that mimics /var/lib/dumpdates, but stores * GNUTAR dates */ @@ -258,7 +258,7 @@ amandates_t *amdp; devname = amname_to_devname(amdp->name); - if((dumpdf = fopen("/etc/dumpdates", "r")) == NULL) { + if((dumpdf = fopen("/var/lib/dumpdates", "r")) == NULL) { amfree(devname); return; } diff --git a/client-src/amandates.h b/client-src/amandates.h index 8cf5bba..b0b22c2 100644 --- a/client-src/amandates.h +++ b/client-src/amandates.h @@ -37,7 +37,7 @@ #define EPOCH ((time_t)0) #ifndef AMANDATES_FILE -#define AMANDATES_FILE "/etc/amandates" +#define AMANDATES_FILE "/var/lib/amandates" #endif typedef struct amandates_s { diff --git a/client-src/selfcheck.c b/client-src/selfcheck.c index 0cfade8..12641ef 100644 --- a/client-src/selfcheck.c +++ b/client-src/selfcheck.c @@ -748,7 +748,7 @@ static void check_overall() } if( need_dump || need_xfsdump ) - check_file("/etc/dumpdates", + check_file("/var/lib/dumpdates", #ifdef USE_RUNDUMP F_OK #else @@ -767,7 +767,7 @@ static void check_overall() check_space(AMANDA_DBGDIR, 64); /* for amandad i/o */ #endif - check_space("/etc", 64); /* for /etc/dumpdates writing */ + check_space("/var/lib", 64); /* for /var/lib/dumpdates writing */ } static void check_space(dir, kbytes) diff --git a/common-src/Makefile.am b/common-src/Makefile.am index 0241740..87e12e9 100644 --- a/common-src/Makefile.am +++ b/common-src/Makefile.am @@ -79,7 +79,7 @@ TEST_PROGS = statfs token file security amfeatures CLEANFILES = regex.h regcomp.ih engine.ih regerror.ih *.test.c -DISTCLEANFILES = version.c +DISTCLEANFILES = version.c genversion regex.h: $(REGEXHSRC) $(REGsrcdir)/mkh sh $(REGsrcdir)/mkh -o -i _REGEX_H_ $(REGEXHSRC) >$@ diff --git a/common-src/strftime.c b/common-src/strftime.c index e3b0ea7..fe0a497 100644 --- a/common-src/strftime.c +++ b/common-src/strftime.c @@ -23,7 +23,9 @@ static char sccsid[] = "@(#)strftime.c 5.8 (Berkeley) 6/1/90"; #include #include -#include +#ifndef linux +# include +#endif /* linux */ #include static char *afmt[] = { diff --git a/config/config.guess b/config/config.guess index 51fab47..6641456 100755 --- a/config/config.guess +++ b/config/config.guess @@ -1,9 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. -timestamp='2004-03-12' +timestamp='2004-07-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -212,6 +212,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; + luna88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; @@ -227,9 +230,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; - pegasos:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; pmax:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; @@ -307,9 +307,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; - Alpha*:OpenVMS:*:*) - echo alpha-hp-vms - exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -764,7 +761,7 @@ EOF echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` @@ -787,21 +784,7 @@ EOF echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) - # Determine whether the default compiler uses glibc. - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #if __GLIBC__ >= 2 - LIBC=gnu - #else - LIBC= - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - # GNU/KFreeBSD systems have a "k" prefix to indicate we are using - # FreeBSD's kernel, but not the complete OS. - case ${LIBC} in gnu) kernel_only='k' ;; esac - echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -1096,9 +1079,9 @@ EOF M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; - M68*:*:R3V[567]*:*) + M68*:*:R3V[5678]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -1260,6 +1243,13 @@ EOF *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms && exit 0 ;; + I*) echo ia64-dec-vms && exit 0 ;; + V*) echo vax-dec-vms && exit 0 ;; + esac esac #echo '(No uname command or uname output not recognized.)' 1>&2 diff --git a/config/config.sub b/config/config.sub index ba33103..ac6de98 100755 --- a/config/config.sub +++ b/config/config.sub @@ -1,9 +1,9 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. -timestamp='2004-03-12' +timestamp='2004-06-24' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -70,7 +70,7 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -145,7 +145,7 @@ case $os in -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) + -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; @@ -300,7 +300,7 @@ case $basic_machine in | avr-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | cydra-* \ + | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ @@ -326,8 +326,9 @@ case $basic_machine in | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ + | mmix-* \ | msp430-* \ - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ @@ -445,6 +446,10 @@ case $basic_machine in basic_machine=j90-cray os=-unicos ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; cr16c) basic_machine=cr16c-unknown os=-elf @@ -659,10 +664,6 @@ case $basic_machine in mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware - ;; monitor) basic_machine=m68k-rom68k os=-coff @@ -743,10 +744,6 @@ case $basic_machine in np1) basic_machine=np1-gould ;; - nv1) - basic_machine=nv1-cray - os=-unicosmp - ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -1059,6 +1056,9 @@ case $basic_machine in romp) basic_machine=romp-ibm ;; + mmix) + basic_machine=mmix-knuth + ;; rs6000) basic_machine=rs6000-ibm ;; @@ -1374,6 +1374,9 @@ case $basic_machine in *-ibm) os=-aix ;; + *-knuth) + os=-mmixware + ;; *-wec) os=-proelf ;; diff --git a/debian/amanda-client.README.Debian b/debian/amanda-client.README.Debian new file mode 100644 index 0000000..5390888 --- /dev/null +++ b/debian/amanda-client.README.Debian @@ -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: + " 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 index 0000000..3f2a4c8 --- /dev/null +++ b/debian/amanda-client.dirs @@ -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 index 0000000..bd965a4 --- /dev/null +++ b/debian/amanda-client.files @@ -0,0 +1,13 @@ +usr/lib/amanda/amandad +usr/lib/amanda/calcsize +usr/lib/amanda/killpgrp +usr/lib/amanda/patch-system +usr/lib/amanda/rundump +usr/lib/amanda/runtar +usr/lib/amanda/selfcheck +usr/lib/amanda/sendbackup +usr/lib/amanda/sendsize +usr/lib/amanda/versionsuffix +usr/lib/libamclient* +usr/share/man/man8/amrecover.8.gz +usr/sbin/amrecover diff --git a/debian/amanda-client.lintian b/debian/amanda-client.lintian new file mode 100644 index 0000000..c18cdd1 --- /dev/null +++ b/debian/amanda-client.lintian @@ -0,0 +1,5 @@ +amanda-client: non-standard-dir-perm var/lib/amanda/ 0770 != 0755 +amanda-client: non-standard-dir-perm var/lib/amanda/gnutar-lists/ 0770 != 0755 +amanda-client: setuid-binary usr/lib/amanda/killpgrp 4754 root/backup +amanda-client: setuid-binary usr/lib/amanda/rundump 4754 root/backup +amanda-client: setuid-binary usr/lib/amanda/runtar 4754 root/backup diff --git a/debian/amanda-client.postinst b/debian/amanda-client.postinst new file mode 100644 index 0000000..8f5cd74 --- /dev/null +++ b/debian/amanda-client.postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +update-inetd --group "OTHER" --add "amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad" + +#DEBHELPER# diff --git a/debian/amanda-client.postrm b/debian/amanda-client.postrm new file mode 100644 index 0000000..a2c66fa --- /dev/null +++ b/debian/amanda-client.postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +#DEBHELPER# diff --git a/debian/amanda-client.prerm b/debian/amanda-client.prerm new file mode 100644 index 0000000..b86df5c --- /dev/null +++ b/debian/amanda-client.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +update-inetd --remove "amanda " + +#DEBHELPER# diff --git a/debian/amanda-common.dirs b/debian/amanda-common.dirs new file mode 100644 index 0000000..e43c680 --- /dev/null +++ b/debian/amanda-common.dirs @@ -0,0 +1,2 @@ +etc +usr/lib diff --git a/debian/amanda-server.README.Debian b/debian/amanda-server.README.Debian new file mode 100644 index 0000000..128d5de --- /dev/null +++ b/debian/amanda-server.README.Debian @@ -0,0 +1,63 @@ +amanda for DEBIAN +----------------- + +To configure your server, as root do: + +1. for a simple setup edit the files (see explanations there) + /etc/amanda/DailySet1/amanda.conf + /etc/amanda/DailySet1/disklist + /etc/amanda/crontab + +2. prepare the holding disk if you use one by + chown -R backup:backup + +3. do + crontab -u backup /etc/amanda/crontab.amanda + + +To use all of Amanda's features, you may find it necessary to put each client +machine's root user in the .rhosts or .amandahosts for ~backup on the server +machine. On Debian systems, this is usually linked to /etc/amandahosts, but +if you have clients running other operating systems you'll have to find the +right place yourself. + + +NOTE: If you want to backup your server too, you need to treat it as both a +client *and* a server, see /usr/share/doc/amanda-client/README.Debian for +more information. + + +For more complex setups, consult the manpages and the extra documents and +example files in /usr/share/doc/amanda-common, or look at www.amanda.org on +the web. + +Another Note: if you use floppy tapes you have to use the sftape +interface for use with ftape(>=3.03). + +Jean Pierre LeJacq 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 reported problems with an Amanda server on which +bastille was used with the "restrict system resources" option. See bug +118616 in the Debian bug tracking system for more information. + +Concerns have been expressed about the reliability of 'dump' as a backup tool +on live Linux systems. Nothing can guarantee a consistent and meaningful +backup of a live filesystem under all circumstances. The tar utility is +'essential' in Debian and so will always be around, is not tied to any specific +filesystem type, and there are entries in the default amanda.conf file +defining dump types using tar. + diff --git a/debian/amanda-server.dirs b/debian/amanda-server.dirs new file mode 100644 index 0000000..650b695 --- /dev/null +++ b/debian/amanda-server.dirs @@ -0,0 +1,7 @@ +etc/amanda/DailySet1 +usr/sbin +usr/share/doc/amanda-server +usr/share/man/man1 +usr/share/lintian/overrides +var/lib/amanda/DailySet1/index +var/log/amanda/DailySet1 diff --git a/debian/amanda-server.files b/debian/amanda-server.files new file mode 100644 index 0000000..2470da0 --- /dev/null +++ b/debian/amanda-server.files @@ -0,0 +1,47 @@ +usr/lib/libamserver* +usr/lib/amanda/amcat.awk +usr/lib/amanda/amcleanupdisk +usr/lib/amanda/amindexd +usr/lib/amanda/amlogroll +usr/lib/amanda/amplot.* +usr/lib/amanda/amtrmidx +usr/lib/amanda/amtrmlog +usr/lib/amanda/chg-* +usr/lib/amanda/driver +usr/lib/amanda/dumper +usr/lib/amanda/amidxtaped +usr/lib/amanda/planner +usr/lib/amanda/taper +usr/sbin/amadmin +usr/sbin/amcheck +usr/sbin/amcheckdb +usr/sbin/amcleanup +usr/sbin/amdump +usr/sbin/amflush +usr/sbin/amgetconf +usr/sbin/amlabel +usr/sbin/amoverview +usr/sbin/amplot +usr/sbin/amreport +usr/sbin/amrmtape +usr/sbin/amtape +usr/sbin/amtapetype +usr/sbin/amtoc +usr/sbin/amverify +usr/share/man/man8/amadmin.8.gz +usr/share/man/man8/amanda.8.gz +usr/share/man/man8/amcheck.8.gz +usr/share/man/man8/amcheckdb.8.gz +usr/share/man/man8/amcleanup.8.gz +usr/share/man/man8/amdump.8.gz +usr/share/man/man8/amflush.8.gz +usr/share/man/man8/amgetconf.8.gz +usr/share/man/man8/amlabel.8.gz +usr/share/man/man8/amoverview.8.gz +usr/share/man/man8/amplot.8.gz +usr/share/man/man8/amreport.8.gz +usr/share/man/man8/amrmtape.8.gz +usr/share/man/man8/amtape.8.gz +usr/share/man/man8/amtapetype.8.gz +usr/share/man/man8/amtoc.8.gz +usr/share/man/man8/amverify.8.gz diff --git a/debian/amanda-server.lintian b/debian/amanda-server.lintian new file mode 100644 index 0000000..dc00c32 --- /dev/null +++ b/debian/amanda-server.lintian @@ -0,0 +1,13 @@ +amanda-server: non-standard-dir-perm etc/amanda/ 0770 != 0755 +amanda-server: non-standard-dir-perm etc/amanda/DailySet1/ 0770 != 0755 +amanda-server: non-standard-file-perm etc/amanda/DailySet1/amanda.conf 0660 != 0644 +amanda-server: non-standard-file-perm etc/amanda/DailySet1/disklist 0660 != 0644 +amanda-server: non-standard-file-perm etc/amanda/crontab.amanda 0660 != 0644 +amanda-server: setuid-binary usr/sbin/amcheck 4754 root/backup +amanda-server: setuid-binary usr/lib/amanda/dumper 4754 root/backup +amanda-server: setuid-binary usr/lib/amanda/planner 4754 root/backup +amanda-server: non-standard-dir-perm var/lib/amanda/ 0770 != 0755 +amanda-server: non-standard-dir-perm var/lib/amanda/DailySet1/ 0770 != 0755 +amanda-server: non-standard-dir-perm var/lib/amanda/DailySet1/index/ 0770 != 0755 +amanda-server: non-standard-dir-perm var/log/amanda/ 0770 != 0755 +amanda-server: non-standard-dir-perm var/log/amanda/DailySet1/ 0770 != 0755 diff --git a/debian/amanda-server.postinst b/debian/amanda-server.postinst new file mode 100644 index 0000000..4a08b9b --- /dev/null +++ b/debian/amanda-server.postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +update-inetd --group "OTHER" --add "amandaidx stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amindexd" +update-inetd --group "OTHER" --add "amidxtape stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amidxtaped" + +#DEBHELPER# diff --git a/debian/amanda-server.postrm b/debian/amanda-server.postrm new file mode 100644 index 0000000..a2c66fa --- /dev/null +++ b/debian/amanda-server.postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +#DEBHELPER# diff --git a/debian/amanda-server.prerm b/debian/amanda-server.prerm new file mode 100644 index 0000000..2bcb874 --- /dev/null +++ b/debian/amanda-server.prerm @@ -0,0 +1,6 @@ +#!/bin/sh + +update-inetd --remove amandaidx +update-inetd --remove amidxtape + +#DEBHELPER# diff --git a/debian/amanda.conf.in b/debian/amanda.conf.in new file mode 100644 index 0000000..e5d56d3 --- /dev/null +++ b/debian/amanda.conf.in @@ -0,0 +1,260 @@ +# +# amanda.conf - sample Amanda configuration file. +# +# If your configuration is called, say, "DailySet1", then this file +# normally goes in /etc/amanda/DailySet1/amanda.conf. +# +# for explanation of the parameters refer to amanda(8) and +# /usr/doc/amanda/WHATS.NEW.gz + +org "DailySet1" # your organization name for reports +mailto "root" # space separated list of operators at your site +dumpuser "backup" # the user to run dumps under +# +inparallel 4 # maximum dumpers that will run in parallel +netusage 600 # maximum net bandwidth for Amanda, in KB per sec + +# a filesystem is due for a full backup once every days +dumpcycle 4 weeks # the number of days in the normal dump cycle +tapecycle 8 tapes # the number of tapes in rotation + +bumpsize 20 MB # minimum savings (threshold) to bump level 1 -> 2 +bumpdays 1 # minimum days at each level +bumpmult 4 # threshold = bumpsize * (level-1)**bumpmult + +#runtapes 9 # explained in WHATS.NEW +#tpchanger "no-changer" # the tape-changer glue script, see TAPE.CHANGERS +tapedev "/dev/nst0" # Linux @ tuck, important: norewinding +# tapedev "/dev/nrst8" # or use the (no-rewind!) tape device directly + +tapetype HP-DAT # what kind of tape it is (see tapetypes below) +labelstr "^HISS[0-9][0-9]*$" # label constraint regex: all tapes must match + +diskdir "/space" # where the holding disk is +disksize 290 MB # how much space can we use on it +#diskdir "/dumps/amanda/work" # additionaly holding disks can be specified +#diskdir "/mnt/disk4" +#disksize 1000 MB # they are used round-robin + + +# Amanda needs a few MB of diskspace for the log and debug files, +# as well as a database. This stuff can grow large, so the conf directory +# isn't usually appropriate. + +infofile "/var/lib/amanda/DailySet1/curinfo" # database filename +logfile "/var/log/amanda/DailySet1/log" # log filename + +# where the index files live +indexdir "/var/lib/amanda/DailySet1/index" + +# tapetypes +# +# Define the type of tape you use here, and use it in "tapetype" above. +# Some typical types of tapes are included here. The tapetype tells amanda +# how many MB will fit on the tape, how big the filemarks are, and how +# fast the tape device is. +# +# For completeness Amanda should calculate the inter-record gaps too, but it +# doesn't. For EXABYTE and DAT tapes this is ok. Anyone using 9 tracks for +# amanda and need IRG calculations? Drop me a note if so. + +define tapetype QIC-60 { + comment "Archive Viper" + length 60 mbytes + filemark 100 kbytes # don't know a better value + speed 100 kbytes # dito +} + +define tapetype DEC-DLT2000 { + comment "DEC Differential Digital Linear Tape 2000" + length 15000 mbytes + filemark 8 kbytes + speed 1250 kbytes +} + +# goluboff@butch.Colorado.EDU +# in amanda-users (Thu Dec 26 01:55:38 MEZ 1996) +define tapetype DLT { + comment "DLT tape drives" + length 20000 mbytes # 20 Gig tapes + filemark 2000 kbytes # I don't know what this means + speed 1500 kbytes +} + +define tapetype SURESTORE-1200E { + comment "HP AutoLoader" + length 3900 mbytes + filemark 100 kbytes + speed 500 kbytes +} + +define tapetype EXB-8500 { + comment "Exabyte EXB-8500 drive on decent machine" + length 4200 mbytes + filemark 48 kbytes + speed 474 kbytes +} + +define tapetype EXB-8200 { + comment "Exabyte EXB-8200 drive on decent machine" + length 2200 mbytes + filemark 2130 kbytes + speed 240 kbytes +} + +define tapetype HP-DAT { + comment "DAT tape drives" + length 1900 mbytes # these numbers are not accurate + filemark 100 kbytes # but you get the idea + speed 500 kbytes +} + +define tapetype DAT { + comment "DAT tape drives" + length 1000 mbytes # these numbers are not accurate + filemark 100 kbytes # but you get the idea + speed 100 kbytes +} + +define tapetype MIMSY-MEGATAPE { + comment "Megatape (Exabyte based) drive through Emulex on Vax 8600" + length 2200 mbytes + filemark 2130 kbytes + speed 170 kbytes # limited by the Emulex bus interface, ugh +} + +define tapetype QIC-3080 { + comment "QIC 3080" + length 2000 mbytes + filemark 64 kbytes + speed 250 kbytes +} + +# dumptypes +# +# These are referred to by the disklist file. The dumptype specifies +# certain "options" for dumping including: +# index - keep an index of the files backed up +# compress-fast - (default) compress on the client using fast algorithm +# compress-best - compress using the best (and slowww) algorithm +# no-compress - don't compress the dump output +# srvcompress - Compress dumps on the tape host instead of client +# machines. This may be useful when a fast tape host +# is backing up slow clients. +# record - (default) record the dump in /etc/dumpdates +# no-record - don't record the dump, for testing +# no-hold - don't go to the holding disk, good for dumping +# the holding disk partition itself. +# skip-full - Skip the disk when a level 0 is due, to allow +# full backups outside Amanda, eg when the machine +# is in single-user mode. +# skip-incr - Skip the disk when the level 0 is NOT due. This +# is used in archive configurations, where only full +# dumps are done and the tapes saved. +# no-full - Do a level 1 every night. This can be used, for +# example, for small root filesystems that only change +# slightly relative to a site-wide prototype. Amanda +# then backs up just the changes. +# +# Also, the dumptype specifies the priority level, where "low", "medium" and +# "high" are the allowed levels. These are only really used when Amanda has +# no tape to write to because of some error. In that "degraded mode", as +# many incrementals as will fit on the holding disk are done, higher priority +# first, to insure the important disks are dumped first. + +define dumptype always-full { + comment "Full dump of this filesystem always" + options no-compress + priority high + dumpcycle 0 + maxcycle 0 +} + +define dumptype comp-user-tar { + program "GNUTAR" + comment "partitions dumped with tar" + options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar" + priority medium +} + +define dumptype comp-root-tar { + program "GNUTAR" + comment "Root partitions with compression" + options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar" + priority low +} + +define dumptype user-tar { + program "GNUTAR" + comment "partitions dumped with tar" + options no-compress, index, exclude-list "/etc/amanda/exclude.gtar" + priority medium +} + +define dumptype high-tar { + program "GNUTAR" + comment "partitions dumped with tar" + options no-compress, index, exclude-list "/etc/amanda/exclude.gtar" + priority high +} + +define dumptype root-tar { + program "GNUTAR" + comment "Root partitions dumped with tar" + options no-compress, index, exclude-list "/etc/amanda/exclude.gtar" + priority low +} + +define dumptype comp-user { + comment "Non-root partitions on reasonably fast machines" + options compress-fast + priority medium +} + +define dumptype nocomp-user { + comment "Non-root partitions on slow machines" + options no-compress + priority medium +} + +define dumptype holding-disk { + comment "The master-host holding disk itself" + options no-hold + priority medium +} + +define dumptype comp-root { + comment "Root partitions with compression" + options compress-fast + priority low +} + +define dumptype nocomp-root { + comment "Root partitions without compression" + options no-compress + priority low +} + +define dumptype comp-high { + comment "very important partitions on fast machines" + options compress-best + priority high +} + +define dumptype nocomp-high { + comment "very important partitions on slow machines" + options no-compress + priority high +} + +define dumptype nocomp-test { + comment "test dump without compression, no /etc/dumpdates recording" + options no-compress, no-record + priority medium +} + +define dumptype comp-test { + comment "test dump with compression, no /etc/dumpdates recording" + options compress-fast, no-record + priority medium +} diff --git a/debian/amandahosts b/debian/amandahosts new file mode 100644 index 0000000..5e9f6eb --- /dev/null +++ b/debian/amandahosts @@ -0,0 +1 @@ +localhost backup diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..350afe6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,512 @@ +amanda (1:2.4.4p3-2) unstable; urgency=low + + * add killpgrp to the set of setuid root:backup executables in the + amanda-client package, closes: #266520 + + -- Bdale Garbee 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 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 Sun, 14 Mar 2004 23:35:13 -0700 + +amanda (1:2.4.4p2-1) unstable; urgency=low + + * new upstream version, closes: #228697 + + -- Bdale Garbee 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Sat, 27 Nov 1999 17:39:13 -0700 + +amanda (1:2.4.1p1-7) unstable; urgency=low + + * recompile to include smbclient support + + -- Bdale Garbee 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 for reviewing open bugs for this update + + -- Bdale Garbee 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Sat, 10 Jan 1998 02:08:02 -0700 + +amanda (2.3.0.4-2) unstable; urgency=low + + * fixed dependencies for amanda-client + + -- Christian Meder 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 Wed, 14 May 1997 13:08:34 -0500 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/config b/debian/config new file mode 100644 index 0000000..6917623 --- /dev/null +++ b/debian/config @@ -0,0 +1,12 @@ +#!/bin/sh + +. /usr/share/debconf/confmodule + +# if both files exist, suggest they merge them +# if only one exists, the postinst moves it +if [ -f /var/lib/amandates ]; then + if [ -f /var/lib/amanda/amandates ]; then + db_input medium amanda-common/merge_amandates || true + db_go + fi +fi diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5b73bd4 --- /dev/null +++ b/debian/control @@ -0,0 +1,113 @@ +Source: amanda +Section: utils +Priority: optional +Maintainer: Bdale Garbee +Build-Depends: debhelper (>= 4.1.16), dump, gnuplot, libncurses5-dev, libreadline4-dev, libtool, flex, perl, smbclient, mailx, lpr, mtx, xfsdump, po-debconf +Standards-Version: 3.6.1.0 + +Package: amanda-common +Architecture: any +Depends: ${shlibs:Depends}, netbase (>=3.03), tar (>=1.12), perl5, mailx, debconf +Suggests: amanda-server (= ${Source-Version}) | amanda-client (= ${Source-Version}) +Conflicts: amanda +Replaces: amanda +Description: Advanced Maryland Automatic Network Disk Archiver (Libs) + This package contains libraries required by the amanda client and + server packages. + +Package: amanda-server +Architecture: any +Depends: ${shlibs:Depends}, amanda-common (= ${Source-Version}), mailx +Suggests: perl5, gnuplot, amanda-client (= ${Source-Version}), cpio | mt-st +Conflicts: amanda +Replaces: amanda-common (<< 1:2.4.4) +Description: Advanced Maryland Automatic Network Disk Archiver (Server) + Amanda is a backup system designed to archive many computers on a + network to a single large-capacity tape drive. This package is + suitable for large amounts of data to backup. For smaller solutions + take a look at afbackup, tob, taper, ... + . + Features: + * will back up multiple machines in parallel to a holding disk, blasting + finished dumps one by one to tape as fast as we can write files to + tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host + with a large holding disk can be filled by Amanda in under 4 hours. + * built on top of standard backup software: Unix dump/restore, and + later GNU Tar and others. + * does simple tape management: will not overwrite the wrong tape. + * supports tape changers via a generic interface. Easily customizable + to any type of tape carousel, robot, or stacker that can be controlled + via the unix command line. + * for a restore, tells you what tapes you need, and finds the proper + backup image on the tape for you. + * recovers gracefully from errors, including down or hung machines. + * reports results, including all errors in detail, in email to operators. + * will dynamically adjust backup schedule to keep within constraints: + no more juggling by hand when adding disks and computers to network. + * includes a pre-run checker program, that conducts sanity checks on both + the tape server host and all the client hosts (in parallel), and will + send an e-mail report of any problems that could cause the backups to + fail. + * can compress dumps before sending or after sending over the net, with + either compress or gzip. + * can optionally synchronize with external backups, for those large + timesharing computers where you want to do full dumps when the system + is down in single-user mode (since BSD dump is not reliable on active + filesystems): Amanda will still do your daily dumps. + * lots of other options; Amanda is very configurable. + . + For important notes, see /usr/share/doc/amanda-server/README.Debian. + . + Explanation of suggested programs: + - perl is needed for some non essential server utilities + - gnuplot is needed for plotting statistics of backups + - to backup the tape server, you need to install the client too + +Package: amanda-client +Architecture: any +Depends: ${shlibs:Depends}, amanda-common (= ${Source-Version}) +Suggests: gnuplot, dump, smbclient +Conflicts: amanda, amanda-common (<< 1:2.4.2) +Replaces: amanda-common (<< 1:2.4.2) +Description: Advanced Maryland Automatic Network Disk Archiver (Client) + Amanda is a backup system designed to archive many computers on a + network to a single large-capacity tape drive. This package is + suitable for large amounts of data to backup. For smaller solutions + take a look at afbackup, tob, taper, ... + . + Features: + * will back up multiple machines in parallel to a holding disk, blasting + finished dumps one by one to tape as fast as we can write files to + tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host + with a large holding disk can be filled by Amanda in under 4 hours. + * built on top of standard backup software: Unix dump/restore, and + later GNU Tar and others. + * does simple tape management: will not overwrite the wrong tape. + * supports tape changers via a generic interface. Easily customizable + to any type of tape carousel, robot, or stacker that can be controlled + via the unix command line. + * for a restore, tells you what tapes you need, and finds the proper + backup image on the tape for you. + * recovers gracefully from errors, including down or hung machines. + * reports results, including all errors in detail, in email to operators. + * will dynamically adjust backup schedule to keep within constraints: + no more juggling by hand when adding disks and computers to network. + * includes a pre-run checker program, that conducts sanity checks on both + the tape server host and all the client hosts (in parallel), and will + send an e-mail report of any problems that could cause the backups to + fail. + * can compress dumps before sending or after sending over the net, with + either compress or gzip. + * can optionally synchronize with external backups, for those large + timesharing computers where you want to do full dumps when the system + is down in single-user mode (since BSD dump is not reliable on active + filesystems): Amanda will still do your daily dumps. + * lots of other options; Amanda is very configurable. + . + THIS PACKAGE RELIES ON A RUNNING AMANDA SERVER IN YOUR NETWORK. + . + For important notes, see /usr/share/doc/amanda-client/README.Debian. + . + Explanation of suggested programs: + - gnuplot is needed for plotting statistics of backups + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..30bd62f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,42 @@ +This package was built by Bdale Garbee 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 index 0000000..62253c7 --- /dev/null +++ b/debian/crontab.amanda @@ -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 index 0000000..6985fec --- /dev/null +++ b/debian/disklist @@ -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 index 0000000..6985fec --- /dev/null +++ b/debian/disklist.in @@ -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 index 0000000..c055764 --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +AUTHORS +NEWS +README +docs diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..33a9488 --- /dev/null +++ b/debian/examples @@ -0,0 +1 @@ +example diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/debian/po/da.po b/debian/po/da.po new file mode 100644 index 0000000..d79f74b --- /dev/null +++ b/debian/po/da.po @@ -0,0 +1,41 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Venligst flet /var/lib/amandates og /var/lib/amanda/amandates." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Du har både /var/lib/amandates og /var/lib/amanda/amandates. Du rådes til at " +"gennemse filerne, og flette indholdet der interesserer dig til den nye " +"lokation /var/lib/amanda/amandates og fjern den gamle fil /var/lib/amandates." diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..ce21324 --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,43 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "" +"Bitte fügen Sie /var/lib/amandates und /var/lib/amanda/amandates zusammen." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Es existieren die beiden Verzeichnisse /var/lib/amandates und /var/lib/" +"amanda/amandates. Bitte überprüfen Sie die Dateien und verschieben Sie den " +"Inhalt, der Ihnen wichtig ist, nach /var/lib/amanda/amandates und löschen " +"Sie die alte Datei /var/lib/amandates." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..079c890 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Por favor fusione los ficheros de datos" + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Se han detectado los ficheros /var/lib/amandates y /var/lib/amanda/" +"amandates. Por favor revise ambos ficheros y fusione los contenidos que le " +"sean necesarios en el fichero /var/lib/amanda/amandates. Posteriormente " +"puede borrar el fichero antig=FCo /var/lib/amandates." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..bb31b32 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Original french translation by an unknown contributor +# +msgid "" +msgstr "" +"Project-Id-Version: amanda 2.4.4-2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: 2003-06-19 18:42+0100\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Veuillez fusionner /var/lib/amandates et /var/lib/amanda/amandates." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"/var/lib/amandates et /var/lib/amanda/amandates existent. Veuillez examiner " +"les fichiers et fusionner les données importantes dans le fichier /var/lib/" +"amanda/amandates ; supprimez ensuite l'ancien fichier /var/lib/amandates. " diff --git a/debian/po/fr.po.poedit b/debian/po/fr.po.poedit new file mode 100644 index 0000000..985e9ed --- /dev/null +++ b/debian/po/fr.po.poedit @@ -0,0 +1,7 @@ +#. This catalog was generated by poedit +#. Number of items: 2 +#. Language: French +#. Country: +#. Basepath: +#. Paths: 0 +#. Keywords: 0 diff --git a/debian/po/it.po b/debian/po/it.po new file mode 100644 index 0000000..85c7de2 --- /dev/null +++ b/debian/po/it.po @@ -0,0 +1,27 @@ +msgid "" +msgstr "" +"Project-Id-Version: amanda 1:2.4.4p2 (templates)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: 2004-05-14 12:16+0200\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Unire /var/lib/amandates e /var/lib/amanda/amndates." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Esiste sia /var/lib/amandates che /var/lib/amanda/amandates. Controllare " +"i file e unire il contenuto interessante in /var/lib/amanda/amndates e " +"rimuovere i file inutili da /var/lib/amanadates." \ No newline at end of file diff --git a/debian/po/ja.po b/debian/po/ja.po new file mode 100644 index 0000000..04f362c --- /dev/null +++ b/debian/po/ja.po @@ -0,0 +1,40 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: amanda 2.4.4p2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: 2004-02-21 01:08+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "/var/lib/amandates ¤È /var/lib/amanda/amandates ¤ò¥Þ¡¼¥¸¤·¤Æ¤¯¤À¤µ¤¤¡£" + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "/var/lib/amandates ¤È /var/lib/amanda/amandates ¤ÎξÊý¤¬¤¢¤ê¤Þ¤¹¡£" +"¥Õ¥¡¥¤¥ë¤ò³Îǧ¤·¡¢/var/lib/amanda/amandates ¤ËÃí°Õ¤¬É¬ÍפÊÆâÍƤò¥Þ¡¼¥¸¤·¤Æ¤«¤é¡¢" +"¸Å¤¤¥Õ¥¡¥¤¥ë /var/lib/amandates ¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£" diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..ea04f7b --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,34 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: amanda 1:2.4.4p2-2\n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: 2004-03-25 18:32+0100\n" +"Last-Translator: Luk Claes \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Voeg /var/lib/amandates en /var/lib/amanda/amandates samen." + +#. Description +#: ../templates:3 +msgid "You have both /var/lib/amandates and /var/lib/amanda/amandates. Please review the files, and merge the contents you care about to the /var/lib/amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "U heeft /var/lib/amandates en /var/lib/amanda/amandates. Kijk deze bestanden na en voeg de inhoud samen die u belangrijk vindt in /var/lib/amanda/amandates, en verwijder het oude bestand /var/lib/amandates" + diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..bf7c45d --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,42 @@ +# translation of amanda_1%3A2.4.4p1-1_pt.po to Portuguese +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Bruno Rodrigues , 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: amanda_1%3A2.4.4p1-1_pt\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: 2003-10-18 13:47+0100\n" +"Last-Translator: Bruno Rodrigues \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Deverá integrar o conteúdo de /var/lib/amandates em /var/lib/amanda/amandates" + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Existem dois ficheiros de dados, um em /var/lib e outro em /var/lib/amanda. " +"Deverá rever o conteúdo dos dois ficheiros, integrar o que for importante no " +"/var/lib/amanda/amandates e apagar o ficheiro antigo /var/lib/amandates." + diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..781ae36 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,41 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Por favor junte /var/lib/amandates e /var/lib/amanda/amandates." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Você possui ambos /var/lib/amandates e /var/lib/amanda/amandates. Por favor " +"revise os arquivos, junte os conteúdos que lhe importam para a localização /" +"var/lib/amanda/amandates e remova o antigo arquivo /var/lib/amandates." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 0000000..908f9b8 --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,41 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=KOI8-R\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "ðÏÖÁÌÕÊÓÔÁ, ÓÏÅÄÉÎÉÔÅ /var/lib/amandates É /var/lib/amanda/amandates." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"õ ×ÁÓ ÅÓÔØ É /var/lib/amandates, É /var/lib/amanda/amandates ÆÁÊÌÙ. " +"ðÏÖÁÌÕÊÓÔÁ, ÐÒÏÓÍÏÔÒÉÔÅ ÆÁÊÌÙ, ÓÏÅÄÉÎÉÔÅ ÉÈ ÓÏÄÅÒÖÉÍÏÅ × ÆÁÊÌÅ /var/" +"lib/amanda/amandates, É ÕÄÁÌÉÔÅ ÓÔÁÒÙÊ ÆÁÊÌ /var/lib/amandates." diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..0ca3fd4 --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "Sammanfoga /var/lib/amandates och /var/lib/amanda/amandates." + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" +"Du har både /var/lib/amandates och /var/lib/amanda/amandates. Var snäll och " +"gå igenom dessa filer, och sammanfoga innehållet som du bryr dig om till den " +"nya platsen /var/lib/amanda/amandates. Ta sedan bort den gamla filen /var/" +"lib/amandates." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..4edebd3 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,38 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-06-20 01:36-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:3 +msgid "Please merge /var/lib/amandates and /var/lib/amanda/amandates." +msgstr "" + +#. Description +#: ../templates:3 +msgid "" +"You have both /var/lib/amandates and /var/lib/amanda/amandates. Please " +"review the files, and merge the contents you care about to the /var/lib/" +"amanda/amandates location, and remove the old file /var/lib/amandates." +msgstr "" diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..046f020 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,46 @@ +#!/bin/sh + +. /usr/share/debconf/confmodule + +if [ "$1" = configure ]; then + useradd -d /var/backups -c backup -s /bin/sh \ + -u 34 -g 34 backup 2> /dev/null + + groupadd -g 34 backup 2> /dev/null + groupadd -g 26 tape 2> /dev/null + + usermod -G disk,tape backup + + # in case we get installed first + if [ ! -d /var/lib/amanda ]; then + mkdir -p /var/lib/amanda + fi + + # try to handle a /var/lib/amandates file, since we created it + # incorrectly in previous versions of the amanda packages for Debian + if [ -f /var/lib/amandates ]; then + if [ ! -f /var/lib/amanda/amandates ]; then + mv /var/lib/amandates /var/lib/amanda/amandates + fi + fi + + # make sure amandates exists and has the right perms + if [ ! -f /var/lib/amanda/amandates ]; then + touch /var/lib/amanda/amandates + fi + chown backup:backup /var/lib/amanda/amandates + + # make sure user backup has a home directory + if [ ! -d ~backup ]; then + mkdir -p ~backup + fi + + # make sure there is a .amandahosts symlink + if [ ! -L ~backup/.amandahosts ]; then + ln -sf /etc/amandahosts ~backup/.amandahosts + fi + chown backup:backup ~backup/.amandahosts /etc/amandahosts + chmod 660 ~backup/.amandahosts /etc/amandahosts +fi + +#DEBHELPER# diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..be4a1ab --- /dev/null +++ b/debian/postrm @@ -0,0 +1,39 @@ +#!/bin/sh -e +case "$1" in + purge) + if [ -d /etc/amanda ]; then + rm -rf /etc/amanda + fi + if [ -d /var/log/amanda ]; then + rm -rf /var/log/amanda + fi + if [ -d /var/lib/amanda-gnutar-lists ]; then + rm -rf /var/lib/amanda-gnutar-lists + fi + if [ -d /var/lib/amanda-index ]; then + rm -rf /var/lib/amanda-index + fi + if [ -d /var/lib/amanda ]; then + rm -rf /var/lib/amanda + fi + # keep this around to clean up after old, broken amanda packages + # new packages have amandates in /var/lib/amanda... + if [ -f /var/lib/amandates ]; then + rm -f /var/lib/amandates + fi + + rm -f ~backup/.amandahosts + ;; + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "unknown argument --> $1" >&2 + exit 0 + ;; +esac + +#DEBHELPER# diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..b7a735b --- /dev/null +++ b/debian/preinst @@ -0,0 +1,12 @@ +#!/bin/sh + +# if a .amandahosts exists and is not a symlink, move it to /etc +if [ ! -L ~backup/.amandahosts ] +then + if [ -f ~backup/.amandahosts ] + then + mv -f ~backup/.amandahosts /etc/amandahosts + fi +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cdb92e0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,130 @@ +#!/usr/bin/make -f +# debian/rules for amanda using debhelper. GNU copyright 1998 by Bdale Garbee. +# requires automake 1.2d (from experimental tree) + +# Warning - do *not* use -j on an SMP machine, or the build gets +# confused... some sort of race condition in the makefiles? + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=4 + +r=$(shell pwd)/debian/amanda-common +server=$(shell pwd)/debian/amanda-server +client=$(shell pwd)/debian/amanda-client + +build: build-stamp +build-stamp: /sbin/dump /usr/bin/smbclient debian/po/templates.pot + dh_testdir +# automake --foreign +# autoconf -l config + ./configure --prefix=/usr --bindir=/usr/sbin --mandir=/usr/share/man \ + --libexecdir=/usr/lib/amanda --enable-shared\ + --sysconfdir=/etc --localstatedir=/var/lib \ + --with-gnutar-listdir=/var/lib/amanda/gnutar-lists \ + --with-index-server=localhost \ + --with-user=backup --with-group=backup \ + --with-bsd-security --with-amandahosts \ + --with-smbclient=/usr/bin/smbclient \ + --with-tcpportrange=50000,50100 --with-udpportrange=840,860 + touch missing + make CFLAGS="-O2 -g -Wall \ + -DAMANDATES_FILE='\"/var/lib/amanda/amandates\"' \ + -DIGNORE_TAR_ERRORS " + touch build-stamp + +clean: + dh_testdir + dh_testroot + -make clean + -make distclean + -rm -f build-stamp missing config/config.h common-src/genversion + -find . -type d -name .deps -exec rm -rf {} \; + + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config/config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config/config.guess + + dh_clean + +# Build architecture-independent files here. +binary-indep: build + +# Build architecture-dependent files here. +binary-arch: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -a + make install prefix=$(r)/usr bindir=$(r)/usr/sbin \ + libexecdir=$(r)/usr/lib/amanda mandir=$(r)/usr/share/man + install -m 644 debian/amanda.conf.in \ + $(server)/etc/amanda/DailySet1/amanda.conf + install -m 644 debian/disklist $(server)/etc/amanda/DailySet1/disklist + install -m 644 debian/crontab.amanda $(server)/etc/amanda + install -m 644 debian/amandahosts $(r)/etc/amandahosts + dh_installdocs -a + install -d $(r)/usr/share/doc/amanda-common/examples + cp -a example/* $(r)/usr/share/doc/amanda-common/examples + cp ChangeLog $(r)/usr/share/doc/amanda-common/changelog + dh_installmenu -a + dh_installcron -a + dh_installchangelogs -a + dh_installdebconf -a + dh_strip -a + dh_compress -a + dh_movefiles -a --sourcedir=debian/amanda-common + rm $(server)/usr/lib/amanda/chg-mtx + dh_fixperms -av + # fix perms manually + chown -R backup:backup debian/*/var/lib/* + chmod -R u=rwX,g=rwX,o-rwx debian/*/var/lib/* + chown -R backup:backup $(server)/var/log/amanda + chmod -R u=rwX,g=rwX,o-rwx $(server)/var/log/amanda + chown -R backup:backup $(server)/etc/amanda + chmod -R u=rwX,g=rwX,o-rwx $(server)/etc/amanda + chown -R backup:backup $(client)/var/lib/amanda/gnutar-lists + chmod -R u=rwX,g=rwX,o-rwx $(client)/var/lib/amanda/gnutar-lists + # .. setuid + chown root:backup \ + $(client)/usr/lib/amanda/killpgrp \ + $(client)/usr/lib/amanda/rundump \ + $(client)/usr/lib/amanda/runtar \ + $(server)/usr/lib/amanda/dumper \ + $(server)/usr/lib/amanda/planner \ + $(server)/usr/sbin/amcheck + chmod u=srwx,g=rx,o=r \ + $(client)/usr/lib/amanda/killpgrp \ + $(client)/usr/lib/amanda/rundump \ + $(client)/usr/lib/amanda/runtar \ + $(server)/usr/lib/amanda/dumper \ + $(server)/usr/lib/amanda/planner \ + $(server)/usr/sbin/amcheck + install -o root -g root -m 0644 debian/amanda-client.lintian \ + $(client)/usr/share/lintian/overrides/amanda-client + install -o root -g root -m 0644 debian/amanda-server.lintian \ + $(server)/usr/share/lintian/overrides/amanda-server + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a -l"debian/amanda-common/usr/lib:debian/amanda-client/usr/lib:debian/amanda-server/usr/lib" + # strip out the non-versioned amanda-common references, we need + # the versioned ones in the control file and dupes are ugly... + sed -e 's/amanda-common, //' < debian/amanda-server.substvars > debian/blah + mv debian/blah debian/amanda-server.substvars + sed -e 's/amanda-common, //' < debian/amanda-client.substvars > debian/blah + mv debian/blah debian/amanda-client.substvars + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +debian/po/templates.pot: debian/templates + @debconf-updatepo + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary diff --git a/debian/tapetype.1 b/debian/tapetype.1 new file mode 100644 index 0000000..b728673 --- /dev/null +++ b/debian/tapetype.1 @@ -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 , +for the Debian GNU/Linux system (but may be used by others). diff --git a/debian/templates b/debian/templates new file mode 100644 index 0000000..b67a0aa --- /dev/null +++ b/debian/templates @@ -0,0 +1,7 @@ +Template: amanda-common/merge_amandates +Type: note +_Description: Please merge /var/lib/amandates and /var/lib/amanda/amandates. + You have both /var/lib/amandates and /var/lib/amanda/amandates. Please + review the files, and merge the contents you care about to the + /var/lib/amanda/amandates location, and remove the old file + /var/lib/amandates. diff --git a/man/amreport.8.in b/man/amreport.8.in index f319e81..c682a09 100644 --- a/man/amreport.8.in +++ b/man/amreport.8.in @@ -10,7 +10,7 @@ .de OP \fB\\$1\fP \fI\\$2\fP .. -.TH AMREPORT 1 +.TH AMREPORT 8 .SH NAME amreport \- generate a formatted output of statistics for an Amanda run .SH SYNOPSIS