summaryrefslogtreecommitdiff
path: root/sysutils/amanda-dev-server/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/amanda-dev-server/patches/patch-ah')
-rw-r--r--sysutils/amanda-dev-server/patches/patch-ah30
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/amanda-dev-server/patches/patch-ah b/sysutils/amanda-dev-server/patches/patch-ah
new file mode 100644
index 00000000000..88fe683240c
--- /dev/null
+++ b/sysutils/amanda-dev-server/patches/patch-ah
@@ -0,0 +1,30 @@
+$NetBSD: patch-ah,v 1.1.1.1 2002/05/02 13:28:16 bouyer Exp $
+
+--- example/amanda.conf.in.orig Fri Dec 7 20:24:58 2001
++++ example/amanda.conf.in Tue Apr 30 13:10:50 2002
+@@ -90,8 +90,8 @@
+ tpchanger "chg-manual" # the tape-changer glue script
+ tapedev "@DEFAULT_TAPE_DEVICE@" # the no-rewind tape device to be used
+ rawtapedev "@DEFAULT_RAW_TAPE_DEVICE@" # the raw device to be used (ftape only)
+-changerfile "/usr/adm/amanda/@DEFAULT_CONFIG@/changer"
+-changerfile "/usr/adm/amanda/@DEFAULT_CONFIG@/changer-status"
++changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer"
++changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer-status"
+ changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
+ changerdev "@DEFAULT_CHANGER_DEVICE@"
+
+@@ -182,10 +182,10 @@
+ # Note that, although the keyword below is infofile, it is only so for
+ # historic reasons, since now it is supposed to be a directory (unless
+ # you have selected some database format other than the `text' default)
+-infofile "/usr/adm/amanda/@DEFAULT_CONFIG@/curinfo" # database DIRECTORY
+-logdir "/usr/adm/amanda/@DEFAULT_CONFIG@" # log directory
+-indexdir "/usr/adm/amanda/@DEFAULT_CONFIG@/index" # index directory
+-#tapelist "/usr/adm/amanda/@DEFAULT_CONFIG@/tapelist" # list of used tapes
++infofile "@localstatedir@/@DEFAULT_CONFIG@/curinfo" # database DIRECTORY
++logdir "@localstatedir@/@DEFAULT_CONFIG@" # log directory
++indexdir "@localstatedir@/@DEFAULT_CONFIG@/index" # index directory
++#tapelist "@localstatedir@/@DEFAULT_CONFIG@/tapelist" # list of used tapes
+ # tapelist is stored, by default, in the directory that contains amanda.conf
+
+