Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 09:41:17 -0600
From:      Trix Farrar <trix@basement.net>
To:        Dan Langille <dan@langille.org>
Cc:        ports@FreeBSD.org, Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
Subject:   Re: FreeBSD Port: bacula-server-1.38.5_1 rc scripts [PATCH]
Message-ID:  <43DF851D.9060306@basement.net>
In-Reply-To: <43DE0105.20315.E08DA8@dan.langille.org>
References:  <43DD0997.3422.3D6D968C@dan.langille.org> <43DE0105.20315.E08DA8@dan.langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050109060709080301030108
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Langille wrote:
> 
> It looks like mailman stripped your original attachment.  It can be 
> found here for a short while:
> 
>    http://beta.freshports.org/tmp/bacula-sh.shar
> 
> NOTE I've changed the file names to have no path, so people don't 
> overwrite their production files.

Wouldn't you know it?  You're nice enough to post the archive and it's
got an error (mine, not yours).

In bacula.subr, the "required_dirs="$piddir"" line should be below where
the "piddir" variable is set.  Patch is attached.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD34UZUn6S0hqD4tsRAjusAKCSfCSfeIrYEgrXmho4h98ACoG2ogCgqUBq
BP9kYQ9hVs5YqT/3MyWt3EA=
=nVXi
-----END PGP SIGNATURE-----

--------------050109060709080301030108
Content-Type: text/x-patch;
 name="bacula-sh.shar.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bacula-sh.shar.patch"

--- bacula-sh.shar.old	Tue Jan 31 08:08:47 2006
+++ bacula-sh.shar.new	Tue Jan 31 08:10:07 2006
@@ -53,7 +53,6 @@
 X    eval command=\$${name}_command
 X    eval command_conf="\$${name}_conf"
 X    command_args="$command_args -c $command_conf"
-X    required_dirs="$piddir"
 X    if [ "$name" = bacula_sd ] ||
 X	[ "$name" = bacula_dir ] ; then
 X	required_dirs="$required_dirs $command_workdir"
@@ -61,6 +60,7 @@
 X    required_files="$command_conf"
 X    command_port=`set_port`
 X    piddir=`set_piddir`
+X    required_dirs="$piddir"
 X    pidfile=`set_pidfile`
 X    start_precmd="bacula_preflight"
 X    extra_commands="configtest"

--------------050109060709080301030108--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43DF851D.9060306>