From owner-freebsd-ports@FreeBSD.ORG Sun Jan 29 21:01:07 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A54F16A422 for ; Sun, 29 Jan 2006 21:01:07 +0000 (GMT) (envelope-from trix@basement.net) Received: from fran.basement.net (fran.basement.net [66.139.76.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3320E43D48 for ; Sun, 29 Jan 2006 21:01:06 +0000 (GMT) (envelope-from trix@basement.net) Received: from [172.29.37.25] (adsl-065-013-140-007.sip.bna.bellsouth.net [65.13.140.7]) (authenticated bits=0) by fran.basement.net (8.12.8/8.12.8) with ESMTP id k0TL10b3013963; Sun, 29 Jan 2006 15:01:01 -0600 Message-ID: <43DD2CFF.1060401@basement.net> Date: Sun, 29 Jan 2006 15:00:47 -0600 From: Trix Farrar Organization: Basement.NET User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Lars Koeller X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig40D647A6795F55EA0E4938B3" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@FreeBSD.org, Dan Langille Subject: FreeBSD Port: bacula-server-1.38.5_1 rc scripts X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: trix@basement.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2006 21:01:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig40D647A6795F55EA0E4938B3 Content-Type: multipart/mixed; boundary="------------020204020406070109000107" This is a multi-part message in MIME format. --------------020204020406070109000107 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello: I use Bacula to back up several clients to a single Director/Storage host= =2E When I installed Bacula under FreeBSD 5.3/5.4/6.0, I found the sample rc(= 8) script disappointing because it doesn't appear to work well with client-o= nly machines. I have written a set of scripts to help me with this problem. I thought = you might find them of some use. In the attached shell archive are; bacula_fd.sh, bacula_sd.sh and bacula_dir.sh which are rc(8) scripts for each of the bacula daemons. Al= so included is bacula.subr which contains subroutines that are useful across= each of these scripts for setting variables and such. The main problem I see with this is that the bacula.subr file would be us= ed for both the sysutils/bacula-client and sysutils/bacula-server ports. I = do not have enough experience, yet, with ports to work around this gracefull= y. If there is interest in the scripts, there could be quite a bit of "sanit= y checking" added to the "bacula_preflight" function in bacula.subr to ensu= re that the database exists/is accessible, etc. Please feel free to contact me if you have any questions or comments. Thank you for your time. --=20 John D. "Trix" Farrar __\\|//__ Basement.NET= trix@basement.net (` o-o ') http://www.basement.net/= -----------------------------------ooO-(_)-Ooo---------------------------= --------------020204020406070109000107 Content-Type: text/plain; name="bacula-sh.shar.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="bacula-sh.shar.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD3PJaUn6S0hqD4tsRAru5AJsGSAmeShIvDP3dp9b7VyruA4cgrwCgs9D2 OvnxAVy74QQYaKOqjN67KjA=3D =3DNDcR -----END PGP SIGNATURE----- --------------020204020406070109000107-- --------------enig40D647A6795F55EA0E4938B3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD3S0HUn6S0hqD4tsRAlljAKCsYyPTkXj/d01sloLo9JO54qf4MQCfRXQh XZYYoTpE34FU6/XgdPHycvc= =1WZ0 -----END PGP SIGNATURE----- --------------enig40D647A6795F55EA0E4938B3--