Sat, 03 Oct 2009 16:18:52 +0200
Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:
'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'
and
'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'
michael@20 | 1 | #!/bin/sh |
michael@20 | 2 | myName=`basename $0` |
michael@20 | 3 | cfgPath="@l_prefix@/etc/bacula" |
michael@20 | 4 | case "$myName" in |
michael@20 | 5 | bacula-dir ) cfg="bacula-dir.conf" ;; |
michael@20 | 6 | bacula-fd ) cfg="bacula-fd.conf" ;; |
michael@20 | 7 | bacula-sd ) cfg="bacula-sd.conf" ;; |
michael@20 | 8 | bconsole ) cfg="bconsole.conf" ;; |
michael@20 | 9 | bcopy ) cfg="bacula-sd.conf" ;; |
michael@20 | 10 | bextract ) cfg="bacula-sd.conf" ;; |
michael@20 | 11 | bls ) cfg="bacula-sd.conf" ;; |
michael@20 | 12 | bscan ) cfg="bacula-sd.conf" ;; |
michael@20 | 13 | dbcheck ) cfg="bacula-dir.conf" ;; |
michael@20 | 14 | tray-monitor ) cfg="tray-monitor.conf" ;; |
michael@20 | 15 | wx-console ) cfg="wx-console.conf" ;; |
michael@20 | 16 | * ) echo "bexec: illegal link to '$0'" 1>&2; exit 1 ;; |
michael@20 | 17 | esac |
michael@20 | 18 | cfg="$cfgPath/$cfg" |
michael@20 | 19 | # The user is still able to specify own config files, because |
michael@20 | 20 | # the commands accept multiple '-c' options. The last '-c' wins. |
michael@20 | 21 | exec @l_prefix@/libexec/bacula/$myName -c $cfg "$@" |