openbsd-ports/sysutils/bacula/patches/patch-src_dird_bacula-dir_conf_in
merdely b92ffdaba9 Update bacula to 5.0.2.
Fixes the weird install issues with the bat binary

New features can be found here:
http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html

Thanks to sthen for help with the new wantlib/lib_depends stuff,
removing the sqlite flavor, ...

Thanks to giovanni for pointing out a ${TRUEPREFIX} -> /usr/local that
crept into one of my patch files.

ok sthen@
2010-07-20 14:38:39 +00:00

70 lines
2.5 KiB
Plaintext

$OpenBSD: patch-src_dird_bacula-dir_conf_in,v 1.6 2010/07/20 14:38:39 merdely Exp $
--- src/dird/bacula-dir.conf.in.orig Tue Apr 27 15:58:29 2010
+++ src/dird/bacula-dir.conf.in Thu Jun 24 09:37:47 2010
@@ -14,6 +14,7 @@
Director { # define myself
Name = @basename@-dir
+ DIRaddress = 127.0.0.1
DIRport = @dir_port@ # where we listen for UA connections
QueryFile = "@scriptdir@/query.sql"
WorkingDirectory = "@working_dir@"
@@ -76,8 +77,8 @@ Job {
Job {
Name = "RestoreFiles"
Type = Restore
- Client=@basename@-fd
- FileSet="Full Set"
+ Client = @basename@-fd
+ FileSet = "Full Set"
Storage = File
Pool = Default
Messages = Standard
@@ -154,7 +155,7 @@ FileSet {
# Client (File Services) to backup
Client {
Name = @basename@-fd
- Address = @hostname@
+ Address = 127.0.0.1
FDPort = @fd_port@
Catalog = MyCatalog
Password = "@fd_password@" # password for FileDaemon
@@ -168,8 +169,8 @@ Client {
# You should change Name, Address, and Password before using
#
#Client {
-# Name = @basename@2-fd
-# Address = @hostname@2
+# Name = client2-fd
+# Address = client2.my.domain
# FDPort = @fd_port@
# Catalog = MyCatalog
# Password = "@fd_password@2" # password for FileDaemon 2
@@ -196,7 +197,7 @@ Storage {
#Storage {
# Name = DDS-4
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = 127.0.0.1 # N.B. Use a fully qualified name here
# SDPort = @sd_port@
# Password = "@sd_password@" # password for Storage daemon
# Device = DDS-4 # must be same as Device in Storage daemon
@@ -208,7 +209,7 @@ Storage {
#Storage {
# Name = "8mmDrive"
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = 127.0.0.1 # N.B. Use a fully qualified name here
# SDPort = @sd_port@
# Password = "@sd_password@"
# Device = "Exabyte 8mm"
@@ -219,7 +220,7 @@ Storage {
#Storage {
# Name = "DVD"
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = 127.0.0.1 # N.B. Use a fully qualified name here
# SDPort = @sd_port@
# Password = "@sd_password@"
# Device = "DVD Writer"